Question: For the following program segment and the initial values of NI and N2 shown, what is the last N3 number the program segment will print?
For the following program segment and the initial values of NI and N2 shown, what is the last N3 number the program segment will print? Prob. 14 N1 = 2 START N3=N2+N1 IF N3 > 30 THEN GO TO FINISH PRINT N3 NI = N2 N2 = N3 GO TO START FINISH END The last N3 number the program segment will print is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
