Language: C

#include <stdio.h>




int main(void){
&#160; &#160; int m,f,r;
&#160; &#160; while(1){
&#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
&#160; &#160; &#160; &#160; if(m==-1||f==-1){
&#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; else if(m+f>=80){
&#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; else if(m+f>=65){
&#160; &#160; &#160; &#160; &#160; &#160; printf("B\n");
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; else if(m+f>=50||r>=50){
&#160; &#160; &#160; &#160; &#160; &#160; printf("C\n");
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; else if(m+f>=30){
&#160; &#160; &#160; &#160; &#160; &#160; printf("D\n");
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; else {
&#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
&#160; &#160; &#160; &#160; }
&#160; &#160; &#160; &#160; if(m==-1&&f==-1&&r==-1) break;
&#160; &#160; }
&#160; &#160; return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:2: error: stray '#' in program
    7 | &#160; &#160; int m,f,r;
      |  ^
main.c:7:1: error: lvalue required as unary '&' operand
    7 | &#160; &#160; int m,f,r;
      | ^
main.c:7:9: error: stray '#' in program
    7 | &#160; &#160; int m,f,r;
      |         ^
main.c:7:8: error: lvalue required as unary '&' operand
    7 | &#160; &#160; int m,f,r;
      |        ^
main.c:8:2: error: stray '#' in program
    8 | &#160; &#160; while(1){
      |  ^
main.c:8:1: error: lvalue required as unary '&' operand
    8 | &#160; &#160; while(1){
      | ^
main.c:8:9: error: stray '#' in program
    8 | &#160; &#160; while(1){
      |         ^
main.c:8:8: error: lvalue required as unary '&' operand
    8 | &#160; &#160; while(1){
      |        ^
main.c:9:2: error: stray '#' in program
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |  ^
main.c:9:1: error: lvalue required as unary '&' operand
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      | ^
main.c:9:9: error: stray '#' in program
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |         ^
main.c:9:8: error: lvalue required as unary '&' operand
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |        ^
main.c:9:16: error: stray '#' in program
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |                ^
main.c:9:15: error: lvalue required as unary '&' operand
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |               ^
main.c:9:23: error: stray '#' in program
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |                       ^
main.c:9:22: error: lvalue required as unary '&' operand
    9 | &#160; &#160; &#160; &#160; scanf("%d %d %d",&m,&f,&r);
      |                      ^
main.c:10:2: error: stray '#' in program
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |  ^
main.c:10:1: error: lvalue required as unary '&' operand
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      | ^
main.c:10:9: error: stray '#' in program
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |         ^
main.c:10:8: error: lvalue required as unary '&' operand
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |        ^
main.c:10:16: error: stray '#' in program
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |                ^
main.c:10:15: error: lvalue required as unary '&' operand
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |               ^
main.c:10:23: error: stray '#' in program
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |                       ^
main.c:10:22: error: lvalue required as unary '&' operand
   10 | &#160; &#160; &#160; &#160; if(m==-1||f==-1){
      |                      ^
main.c:11:2: error: stray '#' in program
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |  ^
main.c:11:1: error: lvalue required as unary '&' operand
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      | ^
main.c:11:9: error: stray '#' in program
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |         ^
main.c:11:8: error: lvalue required as unary '&' operand
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |        ^
main.c:11:16: error: stray '#' in program
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                ^
main.c:11:15: error: lvalue required as unary '&' operand
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |               ^
main.c:11:23: error: stray '#' in program
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                       ^
main.c:11:22: error: lvalue required as unary '&' operand
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                      ^
main.c:11:30: error: stray '#' in program
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                              ^
main.c:11:29: error: lvalue required as unary '&' operand
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                             ^
main.c:11:37: error: stray '#' in program
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                                     ^
main.c:11:36: error: lvalue required as unary '&' operand
   11 | &#160; &#160; &#160; &#160; &#160; &#160; printf("F\n");
      |                                    ^
main.c:12:2: error: stray '#' in program
   12 | &#160; &#160; &#160; &#160; }
      |  ^
main.c:12:1: error: lvalue required as unary '&' operand
   12 | &#160; &#160; &#160; &#160; }
      | ^
main.c:12:9: error: stray '#' in program
   12 | &#160; &#160; &#160; &#160; }
      |         ^
main.c:12:8: error: lvalue required as unary '&' operand
   12 | &#160; &#160; &#160; &#160; }
      |        ^
main.c:12:16: error: stray '#' in program
   12 | &#160; &#160; &#160; &#160; }
      |                ^
main.c:12:15: error: lvalue required as unary '&' operand
   12 | &#160; &#160; &#160; &#160; }
      |               ^
main.c:12:23: error: stray '#' in program
   12 | &#160; &#160; &#160; &#160; }
      |                       ^
main.c:12:22: error: lvalue required as unary '&' operand
   12 | &#160; &#160; &#160; &#160; }
      |                      ^
main.c:13:2: error: stray '#' in program
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |  ^
main.c:13:1: error: lvalue required as unary '&' operand
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      | ^
main.c:13:9: error: stray '#' in program
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |         ^
main.c:13:8: error: lvalue required as unary '&' operand
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |        ^
main.c:13:16: error: stray '#' in program
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |                ^
main.c:13:15: error: lvalue required as unary '&' operand
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |               ^
main.c:13:23: error: stray '#' in program
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |                       ^
main.c:13:22: error: lvalue required as unary '&' operand
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |                      ^
main.c:13:29: error: 'else' without a previous 'if'
   13 | &#160; &#160; &#160; &#160; else if(m+f>=80){
      |                             ^~~~
main.c:14:2: error: stray '#' in program
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |  ^
main.c:14:1: error: lvalue required as unary '&' operand
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      | ^
main.c:14:9: error: stray '#' in program
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |         ^
main.c:14:8: error: lvalue required as unary '&' operand
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |        ^
main.c:14:16: error: stray '#' in program
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                ^
main.c:14:15: error: lvalue required as unary '&' operand
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |               ^
main.c:14:23: error: stray '#' in program
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                       ^
main.c:14:22: error: lvalue required as unary '&' operand
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                      ^
main.c:14:30: error: stray '#' in program
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                              ^
main.c:14:29: error: lvalue required as unary '&' operand
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                             ^
main.c:14:37: error: stray '#' in program
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                                     ^
main.c:14:36: error: lvalue required as unary '&' operand
   14 | &#160; &#160; &#160; &#160; &#160; &#160; printf("A\n");
      |                                    ^
main.c:15:2: error: stray '#' in program
   15 | &#160; &#160; &#160; &#160; }
      |  ^
main.c:15:1: error: lvalue required as unary '&' operand
   15 | &#160; &#160; &#160; &#160; }
      | ^
main.c:15:9: error: stray '#' in program
   15 | &#160; &#160; &#160; &#160; }
      |         ^
main.c:15:8: error: lvalue required as unary '&' operand
   15 | &#160; &#160; &#160; &#160; }
      |        ^
main.c:15:16: error: stray '#' in program
   15 | &#160; &#160; &#160; &#160; }
      |                ^
main.c:15:15: error: lvalue required as unary '&' operand
   15 | &#160; &#160; &#160; &#160; }
      |               ^
main.c:15:23: error: stray '#' in program
   15 | &#160; &#160; &#160; &#160; }
      |                       ^
main.c:15:22: error: lvalue required as unary '&' operand
   15 | &#160; &#160; &#160; &#160; }
      |                      ^
main.c:16:2: error: stray '#' in program
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |  ^
main.c:16:1: error: lvalue required as unary '&' operand
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      | ^
main.c:16:9: error: stray '#' in program
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |         ^
main.c:16:8: error: lvalue required as unary '&' operand
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |        ^
main.c:16:16: error: stray '#' in program
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |                ^
main.c:16:15: error: lvalue required as unary '&' operand
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |               ^
main.c:16:23: error: stray '#' in program
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |                       ^
main.c:16:22: error: lvalue required as unary '&' operand
   16 | &#160; &#160; &#160; &#160; else if(m+f>=65){
      |                      ^
main.c:16:29: error: 'else' without a previous 'if'
   16 | &#160; &#160; &#160; &#160; else i