Language: C

#include<stdio.h> 
int main()
{
intx,a,b;

  scanf(”%d%d%d”, &x, &a, &b);

  if (−a + b <= 0)printf(”delicious\n”); 
  else if (−a + b <= x)printf(”safe\n”); 
  else printf (”dangerous\n”);
}


Compiler output:
main.c: In function 'main':
main.c:4:1: error: 'intx' undeclared (first use in this function); did you mean 'int'?
    4 | intx,a,b;
      | ^~~~
      | int
main.c:4:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:6: error: 'a' undeclared (first use in this function)
    4 | intx,a,b;
      |      ^
main.c:4:8: error: 'b' undeclared (first use in this function)
    4 | intx,a,b;
      |        ^
main.c:6:9: error: stray '\342' in program
    6 |   scanf(<U+201D>%d%d%d<U+201D>, &x, &a, &b);
      |         ^~~~~~~~
main.c:6:10: error: expected expression before '%' token
    6 |   scanf(”%d%d%d”, &x, &a, &b);
      |          ^
main.c:6:16: error: stray '\342' in program
    6 |   scanf(<U+201D>%d%d%d<U+201D>, &x, &a, &b);
      |                       ^~~~~~~~
main.c:8:7: error: stray '\342' in program
    8 |   if (<U+2212>a + b <= 0)printf(<U+201D>delicious\n<U+201D>);
      |       ^~~~~~~~
main.c:8:26: error: stray '\342' in program
    8 |   if (<U+2212>a + b <= 0)printf(<U+201D>delicious\n<U+201D>);
      |                                 ^~~~~~~~
main.c:8:36: error: stray '\' in program
    8 |   if (−a + b <= 0)printf(”delicious\n”);
      |                                    ^
main.c:8:27: error: 'delicious' undeclared (first use in this function)
    8 |   if (−a + b <= 0)printf(”delicious\n”);
      |                           ^~~~~~~~~
main.c:8:36: error: expected ')' before 'n'
    8 |   if (−a + b <= 0)printf(”delicious\n”);
      |                         ~          ^~
      |                                    )
main.c:8:38: error: stray '\342' in program
    8 |   if (<U+2212>a + b <= 0)printf(<U+201D>delicious\n<U+201D>);
      |                                                    ^~~~~~~~
main.c:9:12: error: stray '\342' in program
    9 |   else if (<U+2212>a + b <= x)printf(<U+201D>safe\n<U+201D>);
      |            ^~~~~~~~
main.c:9:22: error: 'x' undeclared (first use in this function)
    9 |   else if (−a + b <= x)printf(”safe\n”);
      |                      ^
main.c:9:31: error: stray '\342' in program
    9 |   else if (<U+2212>a + b <= x)printf(<U+201D>safe\n<U+201D>);
      |                                      ^~~~~~~~
main.c:9:36: error: stray '\' in program
    9 |   else if (−a + b <= x)printf(”safe\n”);
      |                                    ^
main.c:9:32: error: 'safe' undeclared (first use in this function)
    9 |   else if (−a + b <= x)printf(”safe\n”);
      |                                ^~~~
main.c:9:36: error: expected ')' before 'n'
    9 |   else if (−a + b <= x)printf(”safe\n”);
      |                              ~     ^~
      |                                    )
main.c:9:38: error: stray '\342' in program
    9 |   else if (<U+2212>a + b <= x)printf(<U+201D>safe\n<U+201D>);
      |                                                    ^~~~~~~~
main.c:10:16: error: stray '\342' in program
   10 |   else printf (<U+201D>dangerous\n<U+201D>);
      |                ^~~~~~~~
main.c:10:26: error: stray '\' in program
   10 |   else printf (”dangerous\n”);
      |                          ^
main.c:10:17: error: 'dangerous' undeclared (first use in this function)
   10 |   else printf (”dangerous\n”);
      |                 ^~~~~~~~~
main.c:10:26: error: expected ')' before 'n'
   10 |   else printf (”dangerous\n”);
      |               ~          ^~
      |                          )
main.c:10:28: error: stray '\342' in program
   10 |   else printf (<U+201D>dangerous\n<U+201D>);
      |                                   ^~~~~~~~