Computer Science, asked by shuvamadhikari16, 5 months ago

algorithm to display odd numbers from 49 to 1

Answers

Answered by nainika26
5

Answer:

STEP 1 - Start

STEP 2 - program odd_countdown 

STEP 3 integer, parameter :: upper_value= 49, lower_value = 1, decrement = -2 

integer i 

STEP 4 do i = upper_value, lower_value, decrement 

STEP 5 - print *, i 

STEP 6 - end do 

STEP 7 - end program odd_countdown 

STEP 8 - Stop

Similar questions