Ask a New Question

Question

Algorithm to print all even numbers below hundred in the descending order
8 years ago

Answers

Steve
for i = 100 to 0 step -2 ; print i;

assuming you don't want to go on forever with the negative ones ...
8 years ago
Anagha
Algorithm to print all even numbers below 100 in the descending order.
4 years ago

Related Questions

sally's print shop will print any image on a frisbee for a cost of $1.50 per frisbee and a one-time... The following algorithm gives a correct answer: 488 + 65 5^1 5^1 3 Write an algorithm to print the number of months (use 30 days for a month) and remaining days given... Develop algorithm to print all even numbers below 100 in descending order You can run an algorithm like you can run code. (1 point) Responses True True False False... What does the algorithm do in the context of social media Which of these is an algorithm? a love letter a poem a pizza recipe a shopping list What does “the algorithm” do in the context of social media? (1 point) Responses makes a back... What does “the algorithm” do in the context of social media? A. Makes a backup of everyone’s profil... Using your algorithm, what will the bill be if the customer talks on the phone for 190 minutes and s...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use