Răspunsuri

2014-04-16T12:42:17+03:00
#include<iostream.h>
void main ( )
{float x,y ,max=0;
 cin>>x>>y;
 if(x>=y ){max=x;}
else if(x<y){max=y;}
cout<<max;
}
 
2014-04-16T12:43:08+03:00
{int x,y;

cout<<"x="; cin>>x;
cout<<"y="; cin>>y;

if (x>y)
cout<<x<<" este mai mare";
else
cout<<y<<" este mai mare";
}