adsense

Hii, welcome to my site. My name is Om prakash kartik. This blog helps you to learn programming languages concepts.

C++ PROGRAMS



Simple and Mathematical C++ Program



  1. Print Hello Friends word
  2. Addition of two numbers
  3. Subtraction of two numbers
  4. Multiplication of two numbers
  5. Division of two numbers
  6. Modulus division of two numbers
  7. Convert meter into kilometer
  8. Convert kilometer into meter
  9. Convert centimeter into kilometer
  10. Convert feet into inch
  11. Convert inch into feet
  12. Convert day into hours
  13. Convert hours into second
  14. Convert day into year, month, week, day
  15. Convert fahrenheit into centigrade
  16. Convert centigrade into fahrenheit
  17. Calculate area and perimeter of the rectangle
  18. Calculate area and circumference of the circle
  19. Calculate square of a number
  20. Calculate area of the triangle
  21. Calculate simple interest
  22. Calculate volume, diagonal and total surface area of a cube
  23. Calculate volume, diagonal and total surface area of a cuboid
  24. Calculate volume, curved surface area and total surface area of a cylinder
  25. Calculate volume, curved surface area and total surface area of a cone
  26. Calculate volume, curved surface area and total surface area of a sphere
  27. Calculate volume, curved surface area and total surface area of a hemisphere
  28. Calculate total price of  quantity, rate and percentage enter by the user
  29. Calculate sum and percentage of 5 subjects marks
  30. Show the uses of short hand assignment operator
  31. Convert lower case into upper case
  32. Convert upper case into  lower case
  33. Print ASCII value of a given character
  34. Display the right most digit of integral part of a float number



Control Statement( branching statement) program

  1. Check the number is even of odd using if else statement
  2. Check the number is even of odd using conditional operator
  3. Check the number is divisible by 5 or not
  4. Check the year is leap or not
  5. Find the greatest among two numbers 
  6. Find the greatest among three numbers 
  7. Find the greatest among four numbers 
  8. Find the second greatest among three numbers
  9. Find the lowest among two numbers 
  10. Find the lowest among two numbers 
  11. Find the lowest among two numbers 
  12. Find the second lowest among three numbers
  13. Check the number is positive or negative
  14. Check the number is positive or negative or zero
  15. Input the three angles of a triangle and check whether it is valid or not
  16. Input an alphabet and check whether it is upper case or lower case
  17. Input an alphabet and check whether it is vowel or consonant
  18. Print absolute value of a given number
  19. Check the number is divisible by 3 and 5



Post a Comment

0 Comments