My issue
include <stdio.h>
int main(void) {
int A,B,C;
scanf(“%d,%d,%d”, &A,&B,&C);
if((A!=B)&&(B!=C)&&(C!=A)){
printf("YES");
}
else{
printf("NO");
}
return 0;
}
What is wrong here??
My code
#include <stdio.h>
int main(void) {
int A,B,C;
scanf("%d,%d,%d", &A,&B,&C);
if((A!=B)&&(B!=C)&&(C!=A)){
printf("YES");
}
else{
printf("NO");
}
return 0;
}
Learning course: Basic Math using C
Problem Link: Scalene Triangle Practice Problem in - CodeChef