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
Get step-by-step solutions from verified subject matter experts
