1 Write a program to find the sum of all numbers from 1 to N using a loop.

2 Implement a program to check if a given number is prime or not.

3 Create a program to calculate the factorial of a number using recursion.

4 Write a C++ program to display the Fibonacci sequence up to N terms.

5 Implement a program to print the multiplication table of a given number.

6 Calculate the sum of all even numbers between 1 and N.

7 Write a program that checks if a number is a perfect number.

8 Implement a program to find the roots of a quadratic equation.

9 Create a program to calculate the power of a number using a loop.

10 Implement a program to calculate the area of a triangle given its base and height.

11 Create a program to convert temperature from Celsius to Fahrenheit and vice versa.

12 Write a C++ program to check if a year is a leap year.

13 Develop a C++ program that simulates a basic game of Rock, Paper, Scissors between a user and the computer. Use random numbers and loops for gameplay.

14 Create a program to check if a given string is a palindrome.

15 Write a program to reverse a string without using the reverse function.

16 Implement a program to find the length of a string without using the length function.

17 Calculate the square and cube of a number using functions.

18 Create a program that determines if a number is even or odd.

19 Implement a C++ program that simulates a simple ATM machine, allowing users to check their balance, deposit, or withdraw money using a switch statement.

20 Calculate the roots of a quadratic equation using the discriminant.

21 Create a program to check if a character is a vowel or consonant.

22 Implement a program that finds the largest among three numbers using nested if-else statements.

23 Define a program that checks if a number is divisible by both 5 and 11.

24 Write a C++ program to check if a number is prime or composite.

25 Implement a program that determines the grade of a student based on their marks.

26 Create a program to calculate the sum of natural numbers up to N.

27 Write a program to print all natural numbers from 1 to N using a while loop.

28 Create a program to find the sum of even numbers from 1 to N using a while loop.

29 Implement a program to reverse a number using a while loop.

30 Calculate the product of digits of a number using a while loop.

31 Create a program to check if a number is Armstrong using a while loop.

32 Write a program to print the multiplication table of a number using a for loop.

33 Implement a program to find the GCD of two numbers using a for loop.

34 Calculate the sum of digits of a number using a do-while loop.

35 Create a program to simulate a simple calculator with a menu using switch-case.

36 Implement a program that prints the pattern of a right-angled triangle using nested loops.

37 Write a C++ program to find the sum of digits of a number until it becomes a single-digit number.

38 Create a program that checks if a number is a palindrome using nested loops.

39 Implement a program that generates a pattern of a pyramid using nested loops.

40 Calculate the factorial of a number using a nested loop.

41 Write a program to find the LCM of two numbers using nested loops.

42 Create a program that calculates the sum of the series 1 - 1/2 + 1/3 - 1/4 + ... - 1/N using nested loops.

43 Implement a program to print a Pascal's triangle using nested loops.

44 Calculate the sum of series 1/1! + 2/2! + 3/3! + ... + N/N! using nested loops.

45 Define an array of integers and display its elements.

46 Implement a program to find the largest and smallest elements in an array.

47 Create a program to calculate the average of elements in an array.

48 Write a C++ program to search for an element in an array using linear search.

49 Implement a program that counts the frequency of each element in an array.

50 Define an array of characters and find the length of the string it represents.

51 Create an array of strings and display them in alphabetical order.

52 Write a program to concatenate two strings without using the strcat function.

53 Implement a program that checks if a string is a palindrome.

54 Calculate the sum of elements in the main diagonal of a 2D array.

55 Implement a program to reverse an array in-place.

56 Create a program that checks if an array is sorted in ascending order.

57 Write a C++ program to remove duplicate elements from an array.

58 Implement a program to rotate an array to the left by N positions.

59 Define an array and find the second largest element in it.

60 Create a program to compute the intersection of two arrays.

61 Write a program to find the majority element in an array (element appearing more than N/2 times).

62 Implement a program to segregate even and odd numbers in an array.

63 Create a program to find the Kth smallest element in an array.

64 Create a program to find the transpose of a matrix.

65 Calculate the sum of elements in each row of a matrix.

66 Create a program to find the largest element in each row of a matrix.

67 Implement a program to add two matrices of different dimensions.

68 Define a program to calculate the power of a number using recursion.

69 Implement a program to find the nth term of the Fibonacci series using recursion.

70 Create a program to solve the Tower of Hanoi puzzle using recursion.

71 Write a C++ program to find the HCF (Highest Common Factor) of two numbers using recursion.

72 Implement a program to find the sum of natural numbers using recursion.

73 Define a program that calculates the sum of digits of a number using recursion.

74 Create a program to check if a number is prime using recursion.

75 Write a program to generate all possible permutations of a string.

76 Implement a program to find the shortest path in a maze.

77 Calculate the factorial of a number using memoization.

78 Implement a program to solve the N-Queens problem.

79 Define a program to find the longest common subsequence of two strings.

80 Write a C++ program to calculate the number of ways to climb stairs (with varying step sizes).

81 Write a program to print the following pattern:

*
**
***
****	

82 Create a C++ program to print the following pattern:

****
***
**
*

83 Write a program to display the following pattern:

    *
   **
  ***
 ****

84 Write a program to display the following pattern:

1
22
333
4444

85 Create a C++ program to print the following pattern:

1
12
123
1234

86 Write a program to display the following pattern:

1234
123
12
1

87 Create a C++ program to print the following pattern:

*
**
***
****
***
**
*

88 Write a C++ program to display the following pattern:

1
121
12321
1234321

89 Create a C++ program to print the following pattern:

1
212
32123
4321234

90 Create a C++ program to print the following pattern:

    *
   ***
  *****
 *******
*********

91 Write a C++ program to display the following pattern:

*********
 *******
  *****
   ***
    *

92 Create a C++ program to print the following pattern:

*****
*   *
*   *
*   *
*****

93 Write a C++ program to display the following pattern:

A
B C
D E F
G H I J

94 Create a C++ program to print the following pattern:

1
2 3
4 5 6
7 8 9 10

95 Write a C++ program to display the following pattern:

1
10
101
1010

96 Create a C++ program to print the following pattern:

    1
   121
  12321
 1234321
123454321

97 Write a C++ program to display the following pattern:

   1
  232
 34543
4567654
 34543
  232
   1

98 Write a C++ program to display the following pattern:

54321
5432
543
54
5

99 Write a C++ program to display the following pattern:

EEEEE
DDDD
CCC
BB
A

100 Write a C++ program to display the following pattern:

E
DE
CDE
BCDE
ABCDE

101 Problem Statement: Random Group Assignment

You are given an array of N students and a set of Q questions. Your task is to create a C++ program that randomly forms groups from the students and assigns questions to each member such that the questions are distributed evenly among the group members.