Basics & I/O (1-10)
1. Print "Hello, World!"
2. Take name and age as input and display them
3. Add two integers
4. Multiply two floating point numbers
5. Swap two numbers using a temporary variable
6. Swap two numbers without using a temporary variable
7. Find ASCII value of a character
8. Find the size of int, float, char, and double
9. Use of `cin` and `cout` with multiple inputs
10. Check if a number is positive, negative or zero
Conditional Statements (11-20)
11. Check if a number is even or odd
12. Find the largest of three numbers
13. Check if a year is a leap year
14. Simple calculator using `switch`
15. Check if a character is a vowel or consonant
16. Find grade based on percentage
17. Check if a number is divisible by 5 and 11
18. Check if a character is uppercase, lowercase, digit, or special character
19. Check whether a triangle is valid or not based on angles
20. Menu-driven program to perform basic arithmetic operations
Loops (21-30)
21. Print numbers from 1 to 100
22. Print all even numbers from 1 to 100
23. Find factorial of a number
24. Find sum of first N natural numbers
25. Find reverse of a number
26. Check if a number is palindrome
27. Check if a number is prime
28. Generate multiplication table of a number
29. Print Fibonacci series up to N terms
30. Count digits in a number
Arrays (31-50)
31. Input and display elements of an array
32. Find sum of array elements
33. Find largest element in an array
34. Find smallest element in an array
35. Find second largest element
36. Count even and odd numbers in array
37. Search an element in array (linear search)
38. Insert an element at specific position
39. Delete an element from array
40. Merge two arrays
41. Copy array to another array
42. Reverse an array
43. Sort array in ascending order
44. Sort array in descending order
45. Count frequency of each element
46. Find duplicate elements in array
47. Remove duplicate elements
48. Left rotate array by one position
49. Right rotate array by one position
50. Find sum of even and odd elements separately