Friday
April 18, 2014

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

programming logic and design - what is the output by each psuedocode segments ? ...
programming logic and design - whats is the output for each psuedocode sedment? ...
C programming - Enter two integers between 1 to 10 3 4 Both numbers are less ...
writing inequalities - sum of twice a number and 5 lies between 7 and 11 Here is...
C++ Programming - What is the output of the following C++ code? p = list; while...
Computer Programming - I was wondering if someone could review my pseudocode to ...
Math - The sum of 16terms oe an A.P is -504,while the sum of its 9terms is -126....
Computer Science (MATLAB) - I had a test in my computer science course in which ...
Computer Science (MATLAB) - I had a test in my computer science course in which ...
Computer programming - Set k=1 While k<=5 Display k + 1 End While In the ...

Search
Members