Language: C++

#inclde <stdio.h>
int main(){
  char day[6];
  scanf("%s", day);
  if(day == SUN){
    printf("7");
  }
  else if(day == SAT);{
    printf("1");
  }
   else if(day == MON);{
    printf("6");
  }
   else if(day == TUE);{
    printf("5");
  }
   else if(day == WED);{
    printf("4");
  }
   else if(day == THU);{
    printf("3");
  }
   else if(day == FRI);{
    printf("2");
  }
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde <stdio.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:3: error: 'scanf' was not declared in this scope
    4 |   scanf("%s", day);
      |   ^~~~~
a.cc:5:13: error: 'SUN' was not declared in this scope
    5 |   if(day == SUN){
      |             ^~~
a.cc:6:5: error: 'printf' was not declared in this scope
    6 |     printf("7");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #inclde <stdio.h>
a.cc:8:18: error: 'SAT' was not declared in this scope
    8 |   else if(day == SAT);{
      |                  ^~~
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("1");
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:11:4: error: 'else' without a previous 'if'
   11 |    else if(day == MON);{
      |    ^~~~
a.cc:11:19: error: 'MON' was not declared in this scope
   11 |    else if(day == MON);{
      |                   ^~~
a.cc:12:5: error: 'printf' was not declared in this scope
   12 |     printf("6");
      |     ^~~~~~
a.cc:12:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:14:4: error: 'else' without a previous 'if'
   14 |    else if(day == TUE);{
      |    ^~~~
a.cc:14:19: error: 'TUE' was not declared in this scope
   14 |    else if(day == TUE);{
      |                   ^~~
a.cc:15:5: error: 'printf' was not declared in this scope
   15 |     printf("5");
      |     ^~~~~~
a.cc:15:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:17:4: error: 'else' without a previous 'if'
   17 |    else if(day == WED);{
      |    ^~~~
a.cc:17:19: error: 'WED' was not declared in this scope
   17 |    else if(day == WED);{
      |                   ^~~
a.cc:18:5: error: 'printf' was not declared in this scope
   18 |     printf("4");
      |     ^~~~~~
a.cc:18:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:20:4: error: 'else' without a previous 'if'
   20 |    else if(day == THU);{
      |    ^~~~
a.cc:20:19: error: 'THU' was not declared in this scope
   20 |    else if(day == THU);{
      |                   ^~~
a.cc:21:5: error: 'printf' was not declared in this scope
   21 |     printf("3");
      |     ^~~~~~
a.cc:21:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:23:4: error: 'else' without a previous 'if'
   23 |    else if(day == FRI);{
      |    ^~~~
a.cc:23:19: error: 'FRI' was not declared in this scope
   23 |    else if(day == FRI);{
      |                   ^~~
a.cc:24:5: error: 'printf' was not declared in this scope
   24 |     printf("2");
      |     ^~~~~~
a.cc:24:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'