Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #55.0K
2 Posted Topics
Re: Weight
[code=cpp] if (response == "Yes" || response == "yes "|| response == "No" || response == "no" ) [/code] You added a space after the lowercase "yes", which I believe may be the cause of your original invalid response. Since your program was looking for "yes ", "yes" is an …
[quote=WaltP;315091][quote=Rickenbacker360]Also I should use and since I'm checking that the integer I entered was divisible by both 2 and 7, correct?[/quote] That's what the [I]IF[/I] I posted does.[/quote] Correct me if I'm wrong (first post, it's quite likely!) but I [I]think[/I] this does need to be an and - he …
The End.