Ask a New Question

Question

Develop algorithm to print all even numbers below 100 in descending order
4 years ago

Answers

oobleck
n=100
loop {
n -= 2
if n < 0 then break;
print n
}
I assume you do not want the negative numbers -- that could take a while ...
4 years ago

Related Questions

. Develop an algorithm pseudo-code or flowchart that will accept the names of each sales staff me... Develop An Algorithm And Draw the Flowcharts To Find the Sum of Odd Numbers Between 100 And 200... Develop the algorithm and flowchart for a module that calculates the retirement deduction rate accor... Algorithm to print all even numbers below hundred in the descending order Develop an Algorithm and Flowchart that accept the score/mark of a student in an examination and out... Write an algorithm to print the number of months (use 30 days for a month) and remaining days given... how to develop an algorithm and pseudocode read 10 integer from the keyboard in the range 0 up to 1... how to develop an algorithm of read10 integer from the keyboard inthe range of 0up to 100 and how m... Develop and algorithm for a two step equation Develop and algorithm for a two step equation using bubble sort
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use