View Code of Problem 68

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

Double click to view unformatted code.


Back to problem 68