//15. Lee la nota de un examen e indica la letra: A(90+), B(80+), C(70+),
 //   D(60+), F(<60).


#include <iostream>
using namespace std;

int main() {
    // Write C++ code here
    std::cout << "PROGRAMA QUE INDICA LA VALORACION DE SU NOTA"<<endl;
    int nota;
    cout<<"ingrese su nota "<<endl;
    cin>>nota;
    
    if(nota>=90)
    {
        cout<<"SU VALORACION ES A "<<endl;
    }else if ((nota>=80)&&(nota<90))
    {
        cout<<"SU VALORACION ES B "<<endl;
    }
    else if ((nota>=70)&&(nota<80))
    {
        cout<<"SU VALORACION ES C "<<endl;
    }
    else if ((nota>=60)&&(nota<70))
    {
        cout<<"SU VALORACION ES D "<<endl;
    }else if(nota<60)
    {
        cout<<"SU VALORACION ES F "<<endl;
    }else
    {
        cout<<"OPCION INVALIDA"<<endl;
    }
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: