Question Bank CPR Practical No.2
Question Bank CPR Practical No.2
Practical No. 2
Understand the formatted input, output and processing statements:
1. Write a program to input the temperature in Celsius and display its equivalent
Fahrenheit temperature value.
2. The distance between two cities (in km.) is input through the keyboard. Write a
program to convert and print this distance in meters, feet, inches and centimeters.
3. Write a program to input the radius of the circle in centimeters and find the area of
that circle.
4. Write a program to input the height and base of the right angle triangle and find the
hypotenuse of it using Pythagoras’ Theorem.
5. Input to the program is length and width of rectangle. Find the area and perimeter of
it.
6. Two numbers are input through the keyboard into two locations C and D. Write a
program to interchange the contents of C and D.
Kute T. B.
(Subject Teacher)