Write a program that take inputs three numbers and display the maximum number.

Write a program that take inputs three numbers and display the maximum number.



#include<iostream>
using namespace std;
int main()
{
int a,b,c;
cout<<"\t Maxmimun Number Checker "<<endl;
cout<<"\n";
cout<<"Enter the First Number"<<endl;
cin>>a;
cout<<"Enter the Second Number"<<endl;
cin>>b;
cout<<"Enter the Third Number"<<endl;
cin>>c;
if (a>b && a>c)
{
cout<<"Maximum Number is "<<a<<endl;
}
else if (b>a && b>c)
{
cout<<"Maximum Number is "<<b<<endl;
}
else
{
cout<<"Maximum Number is "<<c<<endl;
}
}

Write a program that take inputs three numbers and display the maximum number.