1 条题解

  • 0
    @ 2025-4-12 21:36:07

    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

    20140121作业:【入门】判断成绩等级

    信息

    ID
    959
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者