1. while(c <= 5)

{ product *= c;
c++;

2. while ( z > 0 )
sum = sum + z;

3. x = 1;
while (x <=10 );
x++;
}

4. The following code should print the values 1 to 10
n = 1;
while ( n < 10 )
cout < n++ < endl;
5. While (x <=100)
total = total + x;
x++;

I forgot to mention that there are errors with each code and to identify them and fix them. Thanks.

1. The code above shows a while loop that runs until the variable "c" reaches a value of 6. Inside the loop, there is a statement that multiplies the variable "product" with "c", and then increments "c" by 1. This loop will execute 5 times, and each time it will multiply the value of "product" with the next consecutive value of "c" until it reaches 6.

2. The code above depicts a while loop that will continue until the variable "z" becomes less than or equal to zero. Inside the loop, there is a statement that adds the value of "z" to the variable "sum". This loop will keep executing as long as the value of "z" remains greater than zero. Each time it runs, it will add the value of "z" to the current value of "sum".

3. The code given illustrates a while loop that will run until the variable "x" reaches a value of 11. Inside the loop, there seems to be a typo where there is a semicolon after the while statement, which prematurely terminates the loop. To fix this, the correct code should be "while (x <= 10)", without the semicolon. Additionally, there is a missing statement inside the loop, so it's unclear what the purpose of this loop is. Assuming there is some code missing, it should be added inside the loop to make it useful.

4. The provided code demonstrates a while loop that prints the values from 1 to 10. It initializes the variable "n" to 1 and continues looping until "n" becomes equal to 10. Inside the loop, there is a statement that outputs the value of "n" using the "cout" object, followed by an increment of "n" by 1. This loop will iterate 10 times and output the values 1 to 10 on each iteration.

5. The code mentioned above presents a while loop that will keep executing until the variable "x" exceeds 100. Inside the loop, there is a statement that adds the value of "x" to the variable "total". After that, the value of "x" is incremented by 1. This loop will continue accumulating the values of "x" into "total" until the value of "x" exceeds 100.