c++ program that will display all the even #

August 27, 2010 at 08:09:19
Specs: Windows XP
c++ program that will display all the even # 1-50 (using while statement)

See More: c++ program that will display all the even #

Report •


#1
August 27, 2010 at 08:16:41
Awesome. When you get past the, "Have the Internet do my homework for free" stage, let us know.

If you start doing your homework yourself, but run into problems, feel free to ask us. Make sure to include the code you're having problems with.

If you prefer to have the Internet do your homework, well, that's an option, too.


Report •

#2
August 27, 2010 at 23:53:07
while(start <= stop) {
// use the modulus operator %
cout << (start if even)
// increment start
}

come on razor... the weekend is for having fun and not doing homework. :P

-------------------------------------------
I have no aspiration for preaching. ;-)


Report •

Related Solutions


Ask Question