fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4. int main() {
  5. int x,y,z;
  6. cin>>x>>y>>z;
  7. if(x>y&&x>z)
  8. cout<<x<<" eh o maior"<<endl;
  9. else if(y>x&&y>z)
  10. cout<<y<<" eh o maior"<<endl;
  11. else
  12. cout<<z<<" eh o maior"<<endl;
  13. }
Success #stdin #stdout 0s 4272KB
stdin
Standard input is empty
stdout
1028625424 eh o maior