11.07.2015 Views

tYSR20

tYSR20

tYSR20

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5: Controlling Program Flow71// BreakDemo - input a series of numbers.// Continue to accumulate the sum// of these numbers until the user// enters a negative number.#include #include #include using namespace std;int main(int nNumberofArgs, char* pszArgs[]){// input the loop countint accumulator = 0;cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!