For this activity, you will need to create pseudo code and a flowchart for the following program:
A calorie counting program that calculates the total weekly calories for breakfast. The program should allow the user to enter the number of calories consumed each day for 7 days, then report the number of breakfast calories consumed for the entire week.
Your document must include:
· Pseudo code for the entire program.
For example:
Declare Integer age
Display “What is your age?”
Input age
Display “The age you entered is:”
Display age
· You can use Microsoft Visio, Dia, draw.io, etc. to create your flowchart. Then you can copy and paste the diagram into Word or save it as a image and insert it into Word (It is better if you can save it as an image and insert it into Word because the diagram image cannot be accidentally changed in Word).
· Internal documentation, using block and/or line comments.
· You must declare all variables before using them in your pseudo code. Don’t forget that variables are just names. You need to assign values to variables. For example:
Set price = 20
Or
Set dollars = 2.75
· Your pseudo code must illustrate all calculations.
· Your flowchart must depict each step in the program.
· Your flowchart must use 3 types of symbols: ovals (start and end terminal symbols), parallelograms (input and output symbols), and rectangles (processing symbols).
· All symbols must be connected by arrows that represent the flow of the program. The flow must make logical sense.