View Code of Problem 68

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

Double click to view unformatted code.


Back to problem 68