Question: I just want the analysis only, I don't want coding The following Figure 1 shows partial flowchart (algorithm) of number processing with multiple possible output.

I just want the analysis only, I don't want coding
The following Figure 1 shows partial flowchart (algorithm) of number processing with multiple possible output. Analyze the flowchart and trace the process and possible output of the program. Your analysis must include the followings: (a) The possible input and output that can be produced at the end of the program (b) The flow of process and how the value of the variables in the program changes based on the input data (c) Trace and produce output based on input given in (a) (d) Explain and discuss the process in each selection structure based on obtained result Read input choice TRUE choice=='A result1=0 number=1 Read input number TRUET number>result 1 resulti=number FALSE FALSE 50; numberl=0 TRUE FALSE Display resulti TRUE choice=='B result1=0 result2=0 Read input number TRUE FALSE numberl=0 result1=resulti + number result2++ FALSE Read input number Display invalid input result1=result 1/result2 Display result 1 Read input cont TRUE cont==1 FALSE Figure 1: Flowchart
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
