View Code of Problem 68

#include<cstdio>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std;
int max(int a,int b)
{
	return a>b?a:b;
}
int main(){
         int a,b,c;
		 scanf("%d%d%d",&a,&b,&c);
		int t=max(max(a,b),c);
		cout<<t<<endl;
	return 0;

}

Double click to view unformatted code.


Back to problem 68