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.

330Part V: Optional Features{}throw string(“Argument for factorial negative”);}// go ahead and calculate factorialint accum = 1;while(n > 0){accum *= n;n--;}return accum;int main(int nNumberofArgs, char* pszArgs[]){try{// this will workcout

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

Saved successfully!

Ooh no, something went wrong!