Posted by Anonymous on .
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++;

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