Post a New Question

C++

posted by .

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++ -

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

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

More Related Questions

Post a New Question