You are viewing a single comment's thread. Return to all comments →
What if b>c?? it wont work for b>c test case
Easy, just add a while loop and take input for C before B. While b is greater than c, do cin again until it's false.