User profile: whitenite1

User info
User name:whitenite1
Number of posts:1042
Latest posts:

Results of a call
For your code to work properly, you have to get rid of the semi-colons on lines 2 and 4. Semi-colons...

Results of a call
@hellworld136 [quote]How can 0 be the answer if I need a value for a and b? [/quote] ???? You have...

Results of a call
@hellworld136 Yes, 0 is the answer. Also, you should have gotten errors when compiling, since the e...

@vendetta2014 Your main problem was that you were entering chars, but checking for int. This way wo...

@Nison Try it this way [code] #include <iostream> #include <string> using namespace std; int main(...