Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- using namespace std;
- int main(){
- int num[10];
- float sum = 0,div= 0;
- for(int i=0;i<10;i++){
- cout<<"Ingrese la nota del estudiante: ";
- cin>>num[i];
- sum+=num[i];
- }
- div = sum/10;
- cout<<"Su promedio de notas mi estimado es: "<<div<<endl;
- getch();
- return 0;
- }
Add Comment
Please, Sign In to add comment