#include <iostream>
using namespace std;

int main() {
    float c[5];
    for (int i = 0; i < 5; i++){
        cout << "Ingrese sus calificaciones: "<<endl;
        cin>>c[i];
    }
    cout<<"Su promedio es "<<(c[0]+c[1]+c[2]+c[3]+c[4])/5;
    
    return 0;
}

Embed on website

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