Simple

  1. C++ Program to calculate sum and average of two numbers
  2. C++ Program to raise any number x to a positive power n
  3. C++ Program to convert given inches into equivalent yard,feet and inches
  4. C++ Program to Find ASCII value of a character
  5. C++ Program to find Compound Interest
  6. C++ Program to calculate square root of any number
  7. C++ Program to Convert given no. of days into years,weeks and days
  8. C++ program to swap two numbers without using temp variable
  9. C++ program to swap two numbers using macros
  10. C++ program to find cube of a number using macros

If/ Else

  1. C++ Program to check whether a number is odd or even
  2. C++ Program to find Greatest number among two numbers
  3. C++ Program to find Greatest number among three numbers
  4. C++ Programs to check whether a given character  or a digit or a special character
  5. C++ Program to Check whether a year is Leap year or not
  6. C++ Program to calculate roots of quadratic equation ax^2+bx+c=0
  7. C++ Program to convert a lowercase alphabet to uppercase or vice-versa

Looping / Iterations

  1. Write a program to print number from 1 to 10.
  2. Write a program to calculate the sum of first 10 natural number.
  3. Write a program to find the factorial value of any number entered through the keyboard.
  4. Two numbers are entered through the keyboard. Write a program to find the value of one number raised to the power of another.
  5. Write a program to reverse any given integer number.
  6. Write a program to sum of digits of given integer number.
  7. Write a program to check given number is prime or not.
  8. Write a program to calculate HCF of Two given number.
  9. Write a program to enter the numbers till the user wants and at the end it should display the count of positive, negative and zeros entered.
  10. Write a program to enter the numbers till the user wants and at the end it should display the maximum and minimum number entered.
  11. Write a program to print whether number is Armstrong numbers or not.
  12. Write a program to print Fibonacci series of n terms

Array – 1D

  1. C++ program to find the sum and average of one dimensional integer array
  2. C++ program to swap first and last element of an integer array.
  3. C++ program to find the largest and smallest element of an array.
  4. C++ program to reverse the element of an integer array
  5. C++ program to insert an element in an array
  6. C++ Program to delete an element from an Array
  7. C++ program to do linear search in Array
  8. C++ Program to Binary search in Array
  9. Sorting
    1. Selection
    2. Insertion
    3. Bubble
    4. Quick
    5. Shell
  10. C++ Program for Union of Two Arrays
  11. C++ program to read an integer array and swap the elements of every even location with its following odd location.
  12. Write a function to merge two sorted array in sorted manner

Array- 2D

  1. C++ program to read a matrix of size mxn from the keyboard and display the same on the screen
  2. C++ program to Sum of all elements of matrix of size m x n
  3. C++ program to display row-wise sum of matrix of size m x n
  4. C++ program to display column-wise sum of matrix of size m x n
  5. C++ program to create transpose of matrix B of size n x m
  6. C++ Program to Add two matrices
  7. C++ program to multiply two matrices
  8. C++ program to find sum of elements of the main diagonal of a matrix
  9. C++ program to print upper half and lower half triangle of a square Matrix
  10. C++ program to find sum of 1st & 2nd diagonal of a square Matrix

 

CLASSES and OBJECTS

Advertisements