1. 76.
    0
    @21
    ... grade= (mid1*20/100)+(mid2*30/100)+(fin*50/100);
    string not;
    switch (grade)
    {
    case 80:
    not="AA";
    break;
    case 70:
    not="BA";
    break;
    .
    .
    .
    case 50:
    not="F"
    break;
    }
    if (not=='F') cout<<"Kaldın dersten liseli!"<<endl;
    else cout<<"Afferin bin, notun:"<<not<<endl;

    return 0;
    }
    ···
   tümünü göster