1. 1.
    +1
    #include <iostream>
    using namespace std;

    int main()
    {
    double mid1;
    double mid2;
    double fin;
    double grade;

    cout<<"Enter a Middterm1";
    cin>>mid1;
    cout<<"Enter a Middterm2";
    cin>>mid2;
    cout<<"Enter a Final Grade";
    cin>>fin;

    grade= (mid1*20/100)+(mid2*30/100)+(fin*50/100);

    cout<<grade<<endl;

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