18 C++ Programs and Code Examples on Decision & Looping
C++ Programs and Code Examples on Decision & Looping
This section contains Decision making and Looping C++ Programs and Code Examples with solutions, output and explanation. This collection of solved basic and difficult examples on C++ programming will be very useful for beginners in C++ programming language.List of C++ Programs on Decision & Looping covered here
The C++ programs covered in this section include:
1. Find if a number is positive or negative
2. Even or Odd Number
3. Prime or Composite Number
4. Print prime numbers between 1 to 20
5. Reverse a number
6. Find if a character is an alphabet or not
7. Swap two numbers
8. Swap without third variable
9. Character is vowel or not
10. Calculate grade of student
11. Leap year program
12. Palindrome number
13. Armstrong number
14. Add digits of number
15. Count +ve, -ve & zero
16. Find larger of two numbers
17. Largest among three numbers
18. Find HCF and LCMFor whom are these C++ Programs and Code Examples on Decision & Looping useful?
All computer science freshers from BCA, BSc, BTech, MCA and all engineering students will find these solved C++ Program examples useful for their university exam, lab exam, practical, assignments, viva questions and campus placement. You can also use these programs to practice for your written test.