View Code of Problem 68

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

Double click to view unformatted code.


Back to problem 68