 
                 
                InterviewSolution
 Saved Bookmarks
    				| 1. | WAP to display 1st 5 even natural numbers in reverse order using FOR & WHILE Loop. | 
| Answer» en problem is solved USING - QBASIC.1. Using For LOOP:CLSA = 2FOR I = 5 TO 1 STEP -1 PRINT 2 * I;NEXT IEND2. Using While Loop:CLSA = 2I = 5WHILE I > 0 PRINT 2 * I; I = I - 1WENDENDIterate loop For X = 5 to 1.Display the value of 2X.See attachment for output. | |