1 solutions

  • 0
    @ 2025-11-5 20:05:52

    C :

    #include<stdio.h>
    int main()
    {
      int s;
      scanf("%d",&s);
      if(s>=86)
        printf("VERY GOOD");
      else
        if(s>=60)
          printf("GOOD");
        else
        	printf("BAD");
        return 0;
    }
    

    Pascal :

    program p140120;
    var
      a:integer;
    begin
      readln(a);
      if a>=86 then write('VERY GOOD');
      if (a>=60) and (a<86) then write('GOOD');
      if a<60 then write('BAD');
    end.
    
    • 1

    Information

    ID
    20001
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By