Tuesday
July 7, 2015

Homework Help: C++

Posted by Anonymous on Wednesday, October 20, 2010 at 6:41pm.

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

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Members