Program List 10
Program List 10
1. Write a program to input radius of a circle and find area and perimeter.
2. Write a program to input principle amount, rate of interest and time in years and
calculate and print Simple Interest. Formula - si=p*r*t/100
3. Write a program to calculate percent profit based on Cost Price ad Selling Price
input by the user. Formula- pp=(sp-cp)/cp*100
4. Write a program to input marks of five subjects. Calculate and print Total marks
and Percentage of Marks.
6. Write a program to input initial velocity, Acceleration and Time in seconds and
calculate Final Velocity. Formula - v=u+at
7. Write a program to input a player’s no. of sixes, no. of fours, no. of threes, no. of
twos, no. of ones and calculate total run scored by player.
9. Write a program to input Length and Breadth of a rectangle calculate and print
Area and perimeter.
10. Write a program to input principle amount, rate of interest and time in years
and calculate and print Compound Interest. Formula- ci=p*(1+r/100)^t-p
11. Write a program to check whether the given number is even or odd?
13. Write a program to check whether the given year is leap or not?
15. Write a program to check whether the given number is prime or not?