algorithm to display odd numbers from 49 to 1
Answers
Answered by
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
Art,
2 months ago
Computer Science,
2 months ago
Political Science,
2 months ago
Physics,
5 months ago
English,
5 months ago
Computer Science,
10 months ago