#include using namespace std; // find maximum of two numbers using if else statement int main () { int num1, num2, max; cout << (num1 < num2); cout << "Enter two numbers: "; cin >> num1 >> num2; if (num1 > num2) // check if first number is larger than the second one { max = num1; // if so maximum is the first number } else { max = num2; // otherwise maximum is the second number } cout << "maximum of these two numbers is: " << max << endl; return 0; }