i write some code. the code is like this:
Code:
#include <stdio.h>
#include <stdlib.h>
#define CHECK(x) if((x>=48)&&(x<=57))\
printf("It's a number.\n");\
else if((x>=65)&&(x<=90))\
printf("It's a Upper case letter.\n");\
else if((x>=97)&&(x<=122))\
printf("It's a lower case letter.\n");\
else\
printf("it's a symbol\n");
#define MINM(x,y) if(x>y)\
(x);\
else\
(y);
int main()
{
char i;
int j,k,l;
scanf("%c", &i);
CHECK(i);
scanf("%d %d",&j,&k);
l=MINM(j,k);
printf("%d is the biggest",l);
return 0;
}
but, when i compiled it, the compiler is saying that "error: syntax beffore if" in line 24.
can someone help me to find out what's wrong with my code?