You are on page 1of 1

1.

Write a program to ensure that the subtraction of any two-digit number and its reverse
is always multiple of nine. For example entered number is 54 and it’s reverse is 45.
The difference between them is 9.

2. Write a program to find the total amount when there are 5 notes of Rs.100 , 3 notes of
Rs.50 & 20 notes of Rs.20.

3. Write a program to input the rainfall of three consecutive days in CMS and find its
average.

4. Find the simple interest. Inputs are principal amount, period in year and rate of 
interest.

5. Write a program to find total number of minutes of 12 hours.

6. Find the area and perimeter of a) square b) rectangle. Input the side(s) through the
keyboard.

7. Accept any three numbers and find their squares and cubes.

8. The speed of a van is 80 km / hour. Find the number of hours required for
covering a distance of 500 km. Write a program in this regard.

9. Write a program to enter text with gets () and display it using printf () statement also
find the length of the text.

10. Write a program to store and interchange two float numbers in variables a & b.

You might also like