Skip to content
- Write a C program to calculate the area of a rectangle. Take
length and width as input. - Write a program that calculates the area of a circle. Take
radius as input. Use 3.14 as the value of π. - Write a program to convert temperature from Celsius to Fahrenheit using the formula:
F = (C × 9/5) + 32 - Write a C program to calculate simple interest using the formula:
SI = (P × R × T) / 100
Take Principal, Rate, and Time as input. - Write a C program to calculate the perimeter of a square. Take
side as input. - Write a program to input three numbers and display their sum and average.
- Write a C program to calculate the volume of a cube. Input:
side of the cube. - Write a program to input marks of 5 subjects, calculate total marks and percentage.
- Write a C program to convert distance in kilometers to meters and centimeters.
- Write a C program that takes a number as input and prints its square and cube.