#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
float n1;
float n2;
float n3;
cout<<"Please enter the three (3) numbers:/n";
cout<<"Enter the First number";
cin>>n1;
cout<<"Enter the Second number";
cin>>n2;
cout<<"Enter the Third number";
cin>>n3;
if (n1>n2&&n1>n3)
{
cout<<"The largest number is - "<<n1;
}
else
{
if (n2>n1&&n2>n3)
{
cout<<"The largest number is - "<<n2;
}
else
{
if (n3>n1&&n3>n2)
{
cout<<"The largest number is - "<<n3;
}
else
{
cout<<"They are equal";
}
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIgKmFyZ3ZbXSkgCnsKCWZsb2F0IG4xOwoJZmxvYXQgbjI7CglmbG9hdCBuMzsKCgljb3V0PDwiUGxlYXNlIGVudGVyIHRoZSB0aHJlZSAoMykgbnVtYmVyczovbiI7Cgljb3V0PDwiRW50ZXIgdGhlIEZpcnN0IG51bWJlciI7CgljaW4+Pm4xOwoJY291dDw8IkVudGVyIHRoZSBTZWNvbmQgbnVtYmVyIjsKCWNpbj4+bjI7Cgljb3V0PDwiRW50ZXIgdGhlIFRoaXJkIG51bWJlciI7CgljaW4+Pm4zOwoKCWlmIChuMT5uMiYmbjE+bjMpCgl7CgkJY291dDw8IlRoZSBsYXJnZXN0IG51bWJlciBpcyAtICI8PG4xOwoJfQoJZWxzZQoJewoJCWlmIChuMj5uMSYmbjI+bjMpCgkJewoJCQljb3V0PDwiVGhlIGxhcmdlc3QgbnVtYmVyIGlzIC0gIjw8bjI7CgkJfQoJCWVsc2UKCQl7CgkJCWlmIChuMz5uMSYmbjM+bjIpCgkJCXsKCQkJCWNvdXQ8PCJUaGUgbGFyZ2VzdCBudW1iZXIgaXMgLSAiPDxuMzsKCQkJfQoJCQllbHNlCgkJCXsKCQkJCWNvdXQ8PCJUaGV5IGFyZSBlcXVhbCI7CgkJCX0KCQl9Cgl9CgkKCXJldHVybiAwOwp9