C++ programming

array

  • HOME
  • c++ programs

Tuesday, 8 April 2014

c++ program

 1. Write a c++ program to check given number is perfect number or not.
 2. Write a c++ program to check given number is prime number or not.
 3. C++ program to check a number is odd or even.
 4. Write a c++ program to get factorial of given number. 
 5. Write a c++ program to find out power of number.    
 6. Write a c++ program to find multiplication table of number
 7.write c++ program to input two number and find(print) greater number 
 8.write c++ program that display counting from 1 to 10 
 9.write c++ program that display counting from 10 to 1
10.write c++ program that display first five numbers and their sum 
11.write c++ program that display a numbers with their squares 
12.write c++ program to convert an integer number into its equivalent binary number
13. Write a c++ program to reverse any number. 
14. Write a c++ program to find out sum of digit of given number.
15. Write a c++ program to add two numbers without using addition operator.

1.write c++ program input two numbers,swap the values and then display them 
2.write c++ program that inputs two numbers,swap these value without using third variable  
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
3. write c++ program which accept any array of 10 numbers and display on the screen
Posted by gul ahmad at 04:19
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Older Post Home

C++ questions and answers


  • Data type
  • c++ program
  • programming3
  • programming4
  • programming5
  • programming6
  • programming7
  • programming8
  • programming9
  • programming10
  • programming11
  • programming12