
Call 1800-123-2003
"Smartindia is the best online tool for school students." Ms Deepa Chandran, Principal Anchal
"Smartindia is one of the best supplementary education tool for school students." Ms Pooja, Principal
Write an algorithm to display the even numbers upto 100 in the reverse order. That 1s, the output should be 100, 98, 96, ....... .... , 4, 2. |
Step 1: Start Step 2: Input N = 100 Step 3: If N<=1, go to step 5 Step 4: if N%2=0, Print N N=N-1, go to step 3 step 5: End |