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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!