Question
For the following, determine the control structure(s) that should be used and express it in a pseudocode format. The syntax does not have to be
For the following, determine the control structure(s) that should be used and express it in a pseudocode format. The syntax does not have to be exactly correct, but it does have to be sufficient so that I can tell that you understand the concept.
Example - Test a value named Color. If Value is Red, print STOP, if value is Yellow, print SLOW, if value is Green, print GO! If (Color=Red) then Print STOP Else if (Color = Yellow) then Print SLOW Else Print Go! End if
1. Read in a list of number values (the list can be different sizes at different times). Add the sum of the values in a variable called Total.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started