Exercises - 2 - Calculations
Write a program to find Area and circumference of square and formula below
Area = a ^2
Circumference = 4 * a
Enter side of square: 5
Area of Square = 25
Circumference of Square = 20
Write a program to find Area and circumference of Rectangle and formula below
Area = Length * Width
Circumference = 2 * ( Length + Width )
Write a program to find Area and circumference of Circle
Area = Pi * R ^ 2
Circumference = 2 * PI * R
PI = 3.14
R = Radius
Write a program to find the total and average mark of a student. List of Subjects - Tamil, english and math
Write a program to find the total chicken price. Input will be how many kilos of chicken, Output will be total chicken price. 1KG = 180 Rs
Write a program to find the discount price. Input will be Total purchase amount, Output will print how much discount and final amount to pay. Discount = 20%
Write a program to find Simple Interest.
Simple Interest = P * N * R / 100
P = Principle
N = Number of years
R = Rate of interest per annum
Write a program to find BMI
BMI = Weight / Height^2
Weight in Kg
Height in meter
Last updated