I am trying to find the largest number from a set of three user-inputted integers. I started c++ one week ago, so simple solutions would be appreciated. I have debugged and tried my hardest to resolve it on my own, but as I mentioned I am very new to the language. Thanks in advance!
1 2 3 4 5 6 7 8 9 10 11
int big;
if (integerOne > integerTwo && integerThree)
big = integerOne;
elseif (integerTwo > integerOne && integerThree)
big = integerTwo;
else (integerThree > integerOne && integerTwo);
big = integerThree;
cout << big;