Professional Documents
Culture Documents
DA
10%
25%
30%
40%
HRA
5%
15%
25%
30%
*******************************************
Menu :
A - Upper (Capital) or Lower (Small) case.
B - Consonant or vowel
C - Quit
*******************************************
Enter your option :
Note :
If option 3 is chosen then a further question would be asked as :
Are you sure (Y/N) ?
Then depending on the user input (Y/N/y/n) the menu would be re-executed or terminated.
8) Write a program for the following series (using any loop) :
-5 5 -4 4 -3 3 -2 2 -1 1
9) . WA menu driven program to cater to the following options:
MENU (Rectangle)
1. Perimeter
2. Diagonal
3. Area
4. Quit
Enter your choice.
10) WAP to output the sum of positive numbers, sum of negative numbers, sum of even numbers,
sum of odd numbers from a list of numbers entered by the user. The list terminates when the
number entered is zero.
********************
HAPPY HOLIDAYS
********************