Program to convert small letters into capital letters


Question 1) Write a program to convert a small letter into capital letter and vice versa.

Question 2) Write a program to input the marks of a student in five subjects and calculate the gradeaccording the following conditions:

Marks      Grade

>90         S

76-90      A

61-75      B

51-60      C

0-50        D

<40        Fail

Question 3) Write a program to input the sales made by a salesman and calculate the commissionaccording to the following conditions:

Sales              Commission

1-10000             4%

10001-20000     5%

20001-30000     6%

>30000             7%

Question 4) Write a program to convert the temperature according to the following conditions:

Choice        Conversion

1                Fahrenheit to Celsius

2                Celsius to Fahrenheit

Question 5) WAP to find out the largest of three numbers.

Question 6) Write a program to input three numbers and print them in descending order.

Question 7) Write a program to input a number (1 to 7) and print the weekday name according to thegiven number.

Question 8) Write a program to input a digit and print the digit in words.

Question 9) Write a program to input two numbers and a choice and calculate the result according to thefollowing conditions:

Choice             Result
1                     Add
2                     Subtract
3                     Multiply
4                    Divide
5                    Remainder

Question 10) Write a program to input two numbers and an operator and calculate the result according tothe following conditions:

Operator                   Result
‘+’                            Add
‘-‘                             Subtract
‘*’                            Multiply
‘/’                            Divide
‘%’                          Remainder

Question 11) Write a program to compute the area of a circle, a rectangle or a triangle depending upon user’s choice.

Choice            Area
1                     Circle
2                   Rectangle
3                 Triangle

Question 12) Write a program to input the marks in theory and practical and print the result.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program to convert small letters into capital letters
Reference No:- TGS04881

Expected delivery within 24 Hours