View Code of Problem 68

#include <stdio.h>
using namespace std;
int main(){
	int a,b,c;
	int d;
	scanf("%d%d%d", &a,&b, &c);
	if( a>b ){
		if( a>c){
			d = a;
		}else{
			d = c;
		}
	}else{
		if( b> c ){
			d = b;
		}else{
			d=c;
		}
		
	}
	printf("%d",d);

	return 0;
	
}

Double click to view unformatted code.


Back to problem 68