#include <iostream>
using namespace std;
int main()
{
int N1,N2,N3;
cout<<"Enter 3 Numbers"<<endl;
cin>>N1>>N2>>N3;
if(N1>N2&&N1>N3)
cout<<N1<<" is the Greatest Number";
else if(N2>N1&&N2>N3)
cout<<N2<<" is the Greatest Number";
else
cout<<N3<<" is the Greatest Number";
}
No comments:
Post a Comment