My issue
tell the code
My code
#include <stdio.h>
int main()
{
int A,B,C;
scan(%d%d%d,A,B,C);
float avg ;
avg= (A+B)/2;
if(avg>C)
{
printf("YES");
}
else
{printf("NO");
}
return 0;
}
Learning course: 500 to 1000 difficulty problems
Problem Link: Greater Average Practice Problem in - CodeChef