Question
Algorithm to print all even numbers below hundred in the descending order
Answers
Steve
for i = 100 to 0 step -2 ; print i;
assuming you don't want to go on forever with the negative ones ...
assuming you don't want to go on forever with the negative ones ...
Anagha
Algorithm to print all even numbers below 100 in the descending order.