-
-
Save parzibyte/2544fadcda28c25c31ecd7898fbf37c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Declarar la cantidad de notas por si el valor cambia | |
const int cantidadNotas = 5; | |
double notas[cantidadNotas]; | |
// Solicitar notas | |
for (int i = 0; i < cantidadNotas; i++) | |
{ | |
cout << "Ingrese la nota " << i + 1 << ": "; | |
// Guardar en el arreglo | |
cin >> notas[i]; | |
} | |
// Solicitar calificación de examen semestral | |
double calificacionExamenSemestral; | |
cout << "Ingrese calificación de examen semestral: "; | |
cin >> calificacionExamenSemestral; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment