0
You want to determine the bigger number between 2 user numbers? A simple if-statement can help you: int a, b; cin >> a >> b; if (a > b) {cout << a << " is bigger than " << b;} else if (a < b) {cout << b << " is bigger than " << a;} else {cout << "The numbers are similar.";}
19th Oct 2017, 6:11 PM
Shadow
Shadow - avatar