View Code of Problem 68

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

/*
Main.c:2:1: error: expected identifier or '(' before '{' token
 {
 ^
*/

Double click to view unformatted code.


Back to problem 68