List of Programs
- Write a program in C++ to print “HELLO WORLD”.
- Write a program in C++ to add two numbers and display the result.
- Write a program to scan two numbers and display result of their addition, Subtraction, Multiplication and Division.
- Write a program in C++ to scan two numbers, display their contents. Perform swapping of their values and then again display their contents.
- Write a program in C++ to scan a number and identify whether it is even number of odd
- Write a program using if else statement to validate the users input to be in the range 1-10.
- Write a program in C++ to scan three integers and display the biggest number
- Write a program in C++ to scan two integers and add them if both are positive, multiply them if both are negative, subtract the smaller number from the bigger if both have different signs.
- Write a program to perform division of odd number by an even number and find out the quotient and remainder
- Write a program to display integers from 1 to 100 using for loop.
- Write a program to display all the even numbers and odd numbers between 1 and 100 using for loop.
- Write a program to display integers from 100 to 250 using while loop
- Write a program to display all the even numbers and odd numbers between 1 and 100 using do while loop.
- Write a program to display the following pyramid structure using while loop.
11111
Program
- Program to enter two integer and find their sumand average.
- Program to enter, acceleration and time andprint velocity using the formula: v=u+a*t
- Program to enter your age and print if youshould be in grade 10.
- Program to enter an integer and print if it isgreater or less than 100.
- Program to enter sale value and print theagent’s commission.
- Program to switch between different cases.
- Program to enter principal, rate & time %print the SI.
- Program to an integer and output the cube ofthat integer.
- Program to enter an integer and print out itssuccessor.
- Program to enter two integer and print thequotient and remainder.
- Program to enter an integer and find out if itis even or odd.
- Program to enter three integer and find thebiggest no.
- Program to enter three integer and find thebiggest no using IF.
- Program to enter the unit reading and output thecustomer’s telephone.
- Program to enter salary and output income taxand net salary.
- Program to convert days into years and weeks.
- Program to find the total days in the year tilldate.
- Program to compute the Fibonacci series.
Comments
Post a Comment