0% found this document useful (0 votes)
6 views

C Program For Grade 11 Basic

Uploaded by

gairwbishwash
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

C Program For Grade 11 Basic

Uploaded by

gairwbishwash
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Calculate Simple Interest


Write a program to calculate simple interest using the formula:
Simple Interest = (Principal × Rate × Time) / 100
2. Convert Temperature (Celsius to Fahrenheit)
Write a program to convert a given temperature in Celsius to Fahrenheit
using the formula:
F = (9/5) × C + 32
3. Calculate the Perimeter of a Rectangle
Write a program to find the perimeter of a rectangle using the formula:
P = 2 × (Length + Breadth)
4. Calculate the Circumference of a Circle
Write a program to calculate the circumference of a circle using the formula:
C=2×π×r
*(Use 22/7 for π)*
5. Calculate the Area of a Circle
Write a program to calculate the area of a circle using the formula:
A = π × r²
6. Find the Total and Average of Three Numbers
Write a program to find the total and average of three given numbers.
7. Convert Days into Weeks and Remaining Days
Write a program to convert a given number of days into weeks and
remaining days. [example: 16days = 2 week and 2 days]
8. Find the Square and Cube of a Number
Write a program to calculate the square and cube of a given number.
9. Calculate the Area of a Triangle
Write a program to calculate the area of a triangle using the formula:
Area = (1/2) × Base × Height
10. Convert Hours into Minutes and Seconds
Write a program to convert a given number of hours into minutes and
seconds.
11. Calculate Body Mass Index (BMI)
Write a program to calculate BMI using the formula:
BMI = Weight (kg) / (Height (m)²)
12. Convert Kilometers into Meters and Centimeters
Write a program to convert a given distance in kilometers into meters and
centimeters.
13. Calculate Electricity Bill
Write a program to calculate the total bill for electricity consumption.
(Assume the rate is Rs. 5 per unit.) [Total bill = rate * unit consumed]
14. Find the Final Price After Discount
Write a program to calculate the final price of an item after applying a
discount.
Formula: Final Price = Price - (Price × Discount Percentage / 100)
15. Convert Temperature (Fahrenheit to Celsius)
Write a program to convert a given temperature in Fahrenheit to Celsius
using the formula:
[C = (5/9) × F – 32]

You might also like