citeste a
citeste b
citeste c
daca a>b atunci
| daca c>a atunci
| | mm=c
| | altfel
| | mm=a
| |_▄
| altfel
| daca c>b atunci
| | mm=c;
| | altfel
| | mm=b
| |_▄
|_▄
scrie mm
#include<iostream>
using namespace std;
int main() {
int a,b,c,mm;
cin>>a>>b>>c;
if(a>b)
if(c>a)
mm=c;
else
mm=a;
else
if(c>b)
mm=c;
else
mm=b;
cout<<mm;
}