View Code of Problem 68

#include <stdio.h>
int main(){
	int a,b,c;
	while(scanf("%d %d %d",&a,&b,&c)!=EOF)
	{
		if(a>b&&a>c)
			printf("%d",a);
		else if(b>c&&b>a)
			printf("%d",b);
		else
			printf("%d",c);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 68