Page 21 - PlusGPT_V2.1_C8_Flipbook
P. 21

SOME MORE PROGRAMS


                  Program 2: To subtract two numbers entered by the user.















                  Program 3: To calculate the average marks of three subjects.

















                  Program 4: To calculate the volume and surface area of cylinder.
















                  Program 5: To swap two numbers without using a third variable.



























                                                                                        Introduction to Programming  19
   16   17   18   19   20   21   22   23   24   25   26