View Code of Problem 68

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

Double click to view unformatted code.


Back to problem 68