View Code of Problem 68

#include<stdio.h>
2.main()
3.{
4.	int a,b,c,max;
5.	scanf("%d %d %d",&a,&b,&c);
6.	if(b>a)
7.	max=b;
8.	else
9.	max=a;
10.	if(c>max)
11.	max=c;
12.	printf("%d",max);
13.}

/*
Main.c:2:1: error: invalid suffix "main" on floating constant
 2.main()
 ^
Main.c:2:1: error: expected identifier or '(' before numeric constant
*/

Double click to view unformatted code.


Back to problem 68