Professional Documents
Culture Documents
1. Program to display the sum of digits in a number. Eg: for input 234, result is 2+3+4 = 9.
4. Write a program to input n numbers using array and find the greatest number of them.
[for input 3]
22
333
6. Input temperature for a week. Calculate the average temperature and display the highest and
lowest temperature using functions.
8. Calculate the income tax to be paid by an employee as per the criteria given below:
9.Calculate grade and Display the Remarks of a student. Consider score of 5 subjects. Calculate
the percentage and grade as per the criteria below: [Hint: use Switch case]
10. Program to create a calculator which does basic mathematic operations (addition, subtraction,
multiplication and division) using function call for 2 input values.