#include <iostream> #include <cstdio> #include <algorithm> using namespace std; int main(){ int a,b,c,max; cin>>a>>b>>c; max = a; if(max<b) max = b; if(max<c) max = c; cout<<max<<endl; return 0; }
Double click to view unformatted code.