Thursday, August 11, 2011

What is wrong with this C++ program?

"Num is zero" is exactly what this program is supposed to do with an input of 5. Well, uming you actually have brackets around the if statement. Otherwise you'll get a compile error.

No comments:

Post a Comment