Practice level 2 · Beginner · 30 programs

Operators and calculations

Interest, profit, conversions, areas, BMI and bills.

The programs in this level

  1. Swap two numbers without third variable
  2. Calculate simple interest
  3. Calculate compound interest
  4. Calculate percentage
  5. Calculate profit
  6. Calculate loss
  7. Calculate profit percentage
  8. Calculate loss percentage
  9. Calculate discount
  10. Calculate final price after discount
  11. Convert Celsius to Fahrenheit
  12. Convert Fahrenheit to Celsius
  13. Convert kilometers to meters
  14. Convert meters to kilometers
  15. Convert hours to minutes
  16. Convert minutes to seconds
  17. Convert days to years
  18. Calculate area of circle
  19. Calculate circumference of circle
  20. Calculate area of rectangle
  21. Calculate perimeter of rectangle
  22. Calculate area of triangle
  23. Calculate perimeter of triangle
  24. Calculate volume of cube
  25. Calculate volume of cylinder
  26. Calculate BMI
  27. Calculate total marks
  28. Calculate percentage and grade
  29. Calculate electricity bill
  30. Create a basic calculator

Unlock this lesson

Create a free account, then buy the course to open every lesson.

Everything in C Programming: BCA, MCA, BTech & O Level

  • 37 step-by-step lessons
  • 10 mini projects with solutions
  • A final project for your portfolio
  • Real commands and real output in every lesson
  • Practice task with a solution in each lesson
  • Progress saved to your account