2.3 Pseudocode Functions

Create pseudocode for each programming function your chatbot will need to perform your defined tasks.

Resource: Pseudocode on Wikipedia

See the example pseudocode below as a guide. Don't worry about syntax. Pseudocode is meant to describe, in plain english, what you will need the computer to process.

function: calculate ingredient amounts for recipe    
    - read ingredient amounts for a single serving from database    
    - read number of servings desired by user    
    - multiply number of servings by the single serving amounts    
    - return result

❏ Deliverable

A document containing each functions pseudocode.

Last updated