sorry three integers greater then zero. again I have explicit directions this is how the instructor wants it. No array's I have a logic error somewhere. Been studying for my midterms and my eyes are missing something small I'm sure

Here if anyone is interested. away to find largest int out of three. Had some logical errors I corrected. Finally got time to post the fix. Some may be skeptical about why this was done the way it was. It was because I was following my instructors directions.

He said that he has fixed that. If so, then there is version control issue, i.e. he still has "bad" versions around to copy-paste from.

Line 12 probably should tell the user that only positive natural numbers (N) are expected, rather than the whole mathematical set of integers (Z). The current version is like going to exam and having to write the answers before the questions are revealed.

On should include line 13 in line 14. if ( cin >> a >> b >> c && 0 < a && 0 < b && ...
The reason is that the user can type silly things and then a, b, and/or c might have undefined value. Obviously, the ELSE branch has to check whether the IF failed due to input error or due to non-positive input.