C++ Program to find biggest of two numbers
Program
#include<iostream>
using namespace std;
int main()
{
int a, b;
cout << "Enter two numbers a and b\n";
cin >> a >> b;
if(a > b)
cout << "a is biggest\n";
else
cout << "b is biggest\n";
}
Output 1
Enter two numbers a and b
3
90
b is biggest
Output 2
Enter two numbers a and b
124
6
a is biggest