Question: Debugging... // This program is supposed to display every fifth year // starting with 2015; that is, 2015, 2020, 2025, // and so on, for

Debugging...

// This program is supposed to display every fifth year

// starting with 2015; that is, 2015, 2020, 2025,

// and so on, for 30 years.

start

Declarations

num year

num START_YEAR = 2015

num FACTOR = 5

num END_YEAR = 30

year = START_YEAR

while year <= END_YEAR

output year

endwhile

stop

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!