PLE:Unidad22Ejercicio12

//---


 * 1) include

using namespace std;

int main{

int n;       cout<<"Introduce la nota="; cin>>n;

switch(n){ case 1: case 2: case 3: case 4: cout<<"Lo siento has : "; cout<<"Suspendido"; break; case 5: cout<<"Felicidades has sacado un: "; cout<<"Suficiente"; break; case 6: case 7: cout<<"Felicidades has sacado un: "; cout<<"Bien"; break; case 8: cout<<"Notable"; break; case 9: case 10: cout<<"Felicidades has sacado un: "; cout<<"sobresaliente"; break; }       if(n>10) cout<<"valor no valido";

getch;

}