View Code of Problem 68

#include<stdio.h>
#include <string.h>
void main()
{
	int a[3],i,max=0;
	for(i=0;i<3;i++)
	{
		scanf("%d",&a[i]);
if(a[max]<a[i])
max=i;
		
	}
	printf("%d",a[max]);
}

Double click to view unformatted code.


Back to problem 68