LIST OF PROGRAMS FOR CONTROL STATEMENTS 1. WAP to

LIST OF PROGRAMS FOR CONTROL STATEMENTS
1.
2.
3.
4.
5.
6.
WAP to Check Whether a Character is Vowel or not by using switch case.
WAP to Find the Sum of at most First 100 Positive Integers.
WAP to Find the Sum of Digits of a Positive Integer.
WAP to Print a Table of any Number.
WAP to Print First N Prime Numbers.
WAP to Print the Numbers which are Divisible by 3 and 5 from First 100 Natural
Numbers.
7. WAP to Reverse a Given Number.
8. WAP to Print the pattern:
*
**
***
****
*****
9. WAP to print the given pattern:
*
* ** * ***** *****
*
* * * *
*
*
* *
* * *
*
*
*
* ** *****
*
10. WAP to Implement break Statement.
11. WAP to Find Value of sin x using Expansion Series given below:
12. WAP to find age (Input: current date and birth date, Output: X yrs Y months Z days).
13. WAP to Print the Pattern:
1
121
12321
1234321
123454321
12345654321
1234567654321
14. WAP to Find Largest of Three Numbers.
15. WAP to find whether a given number is even or odd using switch case.
16. WAP to print all the ASCII values and their equivalent characters using while loop.
17. If ages of Sham, Ram and Ajay are input then WAP to find youngest of the three using
switch case.
18. WAP to Find the Sum of Even and Odd Numbers from First 100 Positive Integers.
19. WAP for addition, subtraction, multiplication and division of two numbers using switch
case.
20. WAP to print the following pattern:
*
***
*****
*******
*****
***
*