/in/foo.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
main()
^~~~
/in/foo.c: In function 'main':
/in/foo.c:3:1: error: stray '\343' in program
int age;
^
/in/foo.c:3:2: error: stray '\200' in program
int age;
^
/in/foo.c:3:3: error: stray '\200' in program
int age;
^
/in/foo.c:4:1: error: stray '\343' in program
char price;
^
/in/foo.c:4:2: error: stray '\200' in program
char price;
^
/in/foo.c:4:3: error: stray '\200' in program
char price;
^
/in/foo.c:5:1: error: stray '\343' in program
printf(“please input a age\n“);
^
/in/foo.c:5:2: error: stray '\200' in program
printf(“please input a age\n“);
^
/in/foo.c:5:3: error: stray '\200' in program
printf(“please input a age\n“);
^
/in/foo.c:5:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf(“please input a age\n“);
^~~~~~
/in/foo.c:5:4: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:5:4: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:5:11: error: stray '\342' in program
printf(“please input a age\n“);
^
/in/foo.c:5:12: error: stray '\200' in program
printf(“please input a age\n“);
^
/in/foo.c:5:13: error: stray '\234' in program
printf(“please input a age\n“);
^
/in/foo.c:5:14: error: 'please' undeclared (first use in this function)
printf(“please input a age\n“);
^~~~~~
/in/foo.c:5:14: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:21: error: expected ')' before 'input'
printf(“please input a age\n“);
^~~~~
/in/foo.c:5:32: error: stray '\' in program
printf(“please input a age\n“);
^
/in/foo.c:5:34: error: stray '\342' in program
printf(“please input a age\n“);
^
/in/foo.c:5:35: error: stray '\200' in program
printf(“please input a age\n“);
^
/in/foo.c:5:36: error: stray '\234' in program
printf(“please input a age\n“);
^
/in/foo.c:6:1: error: stray '\343' in program
scanf(“%d“,&age);
^
/in/foo.c:6:2: error: stray '\200' in program
scanf(“%d“,&age);
^
/in/foo.c:6:3: error: stray '\200' in program
scanf(“%d“,&age);
^
/in/foo.c:6:4: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf(“%d“,&age);
^~~~~
/in/foo.c:6:4: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:6:4: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:6:10: error: stray '\342' in program
scanf(“%d“,&age);
^
/in/foo.c:6:11: error: stray '\200' in program
scanf(“%d“,&age);
^
/in/foo.c:6:12: error: stray '\234' in program
scanf(“%d“,&age);
^
/in/foo.c:6:13: error: expected expression before '%' token
scanf(“%d“,&age);
^
/in/foo.c:6:15: error: stray '\342' in program
scanf(“%d“,&age);
^
/in/foo.c:6:16: error: stray '\200' in program
scanf(“%d“,&age);
^
/in/foo.c:6:17: error: stray '\234' in program
scanf(“%d“,&age);
^
/in/foo.c:7:1: error: stray '\343' in program
price=age<2? '1230*0.1’:(age>=2 and < 12?’1230*0.5’:age>=12?’1230’);
^
/in/foo.c:7:2: error: stray '\200' in program
price=age<2? '1230*0.1’:(age>=2 and < 12?’1230*0.5’:age>=12?’1230’);
^
/in/foo.c:7:3: error: stray '\200' in program
price=age<2? '1230*0.1’:(age>=2 and < 12?’1230*0.5’:age>=12?’1230’);
^
/in/foo.c:7:17: warning: missing terminating ' character
price=age<2? '1230*0.1’:(age>=2 and < 12?’1230*0.5’:age>=12?’1230’);
^
/in/foo.c:7:17: error: missing terminating ' character
price=age<2? '1230*0.1’:(age>=2 and < 12?’1230*0.5’:age>=12?’1230’);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:8:1: error: stray '\343' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:2: error: stray '\200' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:3: error: stray '\200' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:11: error: stray '\342' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:12: error: stray '\200' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:13: error: stray '\234' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:14: error: expected expression before '%' token
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:30: error: stray '\342' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:31: error: stray '\200' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:32: error: stray '\234' in program
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:8:44: error: expected ':' before ';' token
printf(“%d belongs to %c“,age,price);
^
/in/foo.c:4:9: warning: variable 'price' set but not used [-Wunused-but-set-variable]
char price;
^~~~~