Page 110 - TechPluse_C7_Flipbook
P. 110

Program 3: To print the number from 1 to 10 in reverse order.

















                  Program 4: To find out the sum of numbers from 1 to 100.















                  Program 5: To find the sum of odd numbers from 5 to 25.














                  Program 6: To print all odd numbers from 1 to 16.














                  Program 7: To print even numbers from 2 to 20.


















               108      Premium Edition-VII
   105   106   107   108   109   110   111   112   113   114   115