|
1 |
| -# c-programming-exercises |
2 |
| -solved exercises of C (variety of plataforms) |
| 1 | +# C programming exercises |
| 2 | +## Solved exercises of C (variety of plattforms) |
| 3 | +### Basic |
| 4 | + |
| 5 | + 1. Write a C program to enter two numbers and find their sum |
| 6 | + 2. Write a C program to enter two numbers and perform all arithmetic operations |
| 7 | + 3. Write a C program to enter length and breadth of a rectangle and find its perimeter. |
| 8 | + 4. Write a C program to enter length and breadth of a rectangle and find its area. |
| 9 | + 5. Write a C program to enter radius of a circle and find its diameter, circumference and area. |
| 10 | + 6. Write a C program to enter length in centimeter and convert it into meter and kilometer. |
| 11 | + 7. Write a C program to enter temperature in °Celsius and convert it into °Fahrenheit. |
| 12 | + 8. Write a C program to enter temperature in Fahrenheit(°F) and convert it into Celsius(°C) |
| 13 | + 9. Write a C program to convert days into years, weeks and days. |
| 14 | + 10. Write a C program to find power of any number x ^ y. |
| 15 | + 11. Write a C program to enter any number and calculate its square root. |
| 16 | + 12. Write a C program to enter two angles of a triangle and find the third angle. |
| 17 | + 13. Write a C program to enter base and height of a triangle and find its area. |
| 18 | + 14. Write a C program to calculate area of an equilateral triangle. |
| 19 | + 15. Write a C program to enter marks of five subjects and calculate total, average and percentage. |
| 20 | + 16. Write a C program to enter P, T, R and calculate Simple Interest. |
| 21 | + 17. Write a C program to enter P, T, R and calculate Compound Interest. |
| 22 | + |
| 23 | + ------ |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
0 commit comments