please i need help in my c++ assignment
its about loop ( while and for) and i cant do it
im gonna write it and hoping if any one can solve them before 25\10
1- write a c++ program that will read in the integer N, and calculate:
a) the factorial : N! =N (N-1) (N-2).....(2)(1)
b)the summation : N^2 = )^2 + 1^2 + 2^2 +......N^2
2- Write a program segment that prints the factorials for the numbers o through 7.
3- Write a program that will print all prime numbers between 1 and 1000.
4- write a program that asks the user to enter 5 grades. The program must calculate and print the minimum, the average and the maximum.
5- Write a c++ program that reads x and y then calculate x^y (y is an integer).
6- Read the following problem statement then formulate the algorithm using pseudo code and flowchart.
i have still more but for now please solve these ones