list of C++ programs For Practice Questions
- wap to print hello world.
- wap to add two and three number.
- wap to find area and perimeter of rectangle .
- wap to find area and perimeter of square.
- program to find area and perimeter of circle.
- program to find simple interest and amount.
- program to check whether the number is even or odd.
- program to check largest number between two number.
- program to check largest number between three number.
- program to check whether a person is elligible for vote or not
- Check whether a number is positive, negative, or zero
- program for Simple calculator
- Reverse of a number (1234---4321)
- Check palindrome number (121-121)
- Check armstrong number
- concept of simple if
- concept of if-else
- concept of if else-if
- wap to illustrate the concept of For loop
- wap to illustrate the concept of While loop
- wap to illustrate the concept of Do-While loop
- find Factorial of a number entered by user
- Prime number
- concept of class and object
- using constructor and its types
Basic Level for loop
Print “Hello” 10 times
Print numbers from 1 to 10
Print numbers from 1 to N
Print even numbers between 1 to 100
Print odd numbers between 1 to 100
Print the sum of first 10 numbers
Print the sum of numbers from 1 to N
Print multiplication table of any number
Print numbers in reverse order (10 to 1)
Print squares of numbers (1 to N)
Print “Hello” 10 times
Print numbers from 1 to 10
Print numbers from 1 to N
Print even numbers between 1 to 100
Print odd numbers between 1 to 100
Print the sum of first 10 numbers
Print the sum of numbers from 1 to N
Print multiplication table of any number
Print numbers in reverse order (10 to 1)
Print squares of numbers (1 to N)
Tags:
listc/cplusplus