0% found this document useful (0 votes)
6 views1 page

Record Programs

The document lists ten programming tasks for users to complete. These tasks include calculating the area and volume of a sphere, finding the area of a rectangle, performing basic calculations, and calculating simple interest, among others. Each task specifies the input required and the output expected.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Record Programs

The document lists ten programming tasks for users to complete. These tasks include calculating the area and volume of a sphere, finding the area of a rectangle, performing basic calculations, and calculating simple interest, among others. Each task specifies the input required and the output expected.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PROGRAM LIST

1. Write a program to accept the radius of a sphere from the user and
display its area and volume. Area=πr2 and Volume=4πr3.
2. Write a program to find the area of a rectangle.
3. Write a program to perform basic calculations (sum, difference,
product, quotient and remainder).
4. Write a program to find the perimeter of a square.
5. Write a program to calculate the simple interest.
6. Write a program to accept the base and height and calculate the area
of a triangle.
7. Write a program to input the marks of three subjects (out of 100) and
print the percentage marks.
8. Write a program to accept weight in kgs and height in meters and
calculate the BMI.
9. Write a program that reads the number n and prints the value of n2,
n3 and n4.
10. Write a program to accept the height in cms and convert into feet and
inches.

You might also like