C++ Practice [C++ Practice Set - I, C++ Algorithms Set - I, C++ Practice Set - II]

C++ Practice Set - I [Back to Top]

  1. Find sum of digits for a given number
  2. Find if a given string is a palindrome
  3. Program to calculate area of a Rectangle
  4. Program to calculate area of a Circle
  5. Program to find out if a given number is prime
  6. Program to compute Fibonacci series
  7. Program to calculate Factorial of a given number
  8. Round number to three decimal places?
  9. Count the number of occurrences of a word in a sentence
  10. Program to extract odd numbers from a list
  11. Program to calculate square of odd numbers in a given list

C++ Algorithms Set - I [Back to Top]

  1. Bubble Sort in C++
  2. Insertion Sort in C++
  3. Selection Sort in C++
  4. Merge Sort in C++
  5. Quick Sort in C++
  6. Linear Search in C++
  7. Binary Search in C++

C++ Practice Set - II [Back to Top]

  1. Write a program in C++ to reverse a number
  2. Write a program in C++ to swap two numbers without using third variable
  3. Write a program in C++ to swap two numbers
  4. Write a program in C++ to find GCD of two numbers
  5. Write a program in C++ to find LCM of two numbers
  6. Write a program in C++ to convert from Binary to Decimal
  7. Write a program in C++ to convert from Decimal to Binary
  8. Write a program in C++ to convert from Celsius to Fahrenheit
  9. Write a program in C++ to convert from Fahrenheit to Celsius
  10. Write a program in C++ to insert element into an Array
  11. Write a program in C++ to delete element from an Array
  12. Write a program in C++ to add two matrices
  13. Write a program in C++ to multiply two matrices
  14. Write a program in C++ to subtract two matrices