RAJA SHAW CONTACT NO: - 8479071489
List of basic programming exercises
1. Write a Program to enter two numbers and find their sum.
2. Write a Program to enter two numbers and perform all arithmetic operations.
3. Write a Program to swap two numbers without using the third variable
4. Write a Program to enter length and breadth of a rectangle and find its perimeter.
5. Write a Program to enter length and breadth of a rectangle and find its area.
6. Write a Program to enter radius of a circle and find its diameter, circumference and area.
7. Write a Program to enter length in centimeter and convert it into meter and kilometer.
8. Write a Program to enter temperature in Celsius and convert it into Fahrenheit.
9. Write a Program to enter temperature in Fahrenheit and convert to Celsius
10.Write a Program to convert days into years, weeks and days.
11.Write a Program to find power of any number x ^ y.
12.Write a Program to enter any number and calculate its square root.
13.Write a Program to enter two angles of a triangle and find the third angle.
14.Write a Program to enter base and height of a triangle and find its area.
15.Write a Program to calculate area of an equilateral triangle.
16.Write a Program to enter marks of five subjects and calculate total, average and percentage.
17.Write a Program to enter P, T, R and calculate Simple Interest.
18.Write a Program to enter P, T, R and calculate Compound Interest.