View Code of Problem 68

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

Double click to view unformatted code.


Back to problem 68