Arreglos y Matrices Unidimensionales-imprimir
7
6 ARREGLOS Y MATRICES UNIDIMENSIONALES 1.- Diseñar un programa que permita ingresar 10 notas por teclado. Luego presente en pantalla el contenido del arreglo. CODIGO DEL PROGRAMA: #include<conio.h> #include<iostream.h> void main() { const int max=10; int notas[max]; for(int i=0;i<max;i++) {cout<<"Ingrese nota: "; cin>>notas[i];} cout<<"\nFin de datos"; cout<<"\n\nNotas ingresadoa"; for(int j=0;j<max;j++) { cout<<"\nNota["<<j+1<<"]"; cout<<notas[j]; } getch(); } INGENIERIA CIVIL PROGRAMACION DIGITAL
-
Upload
mack-celi-chavez-castillo -
Category
Documents
-
view
6 -
download
2
description
ARREGLOS Y MATRICES - EN C++PROGRAMACIÓN DIGITAL -CODIGOS - COMPILACION .ETC.
Transcript of Arreglos y Matrices Unidimensionales-imprimir
INGENIERIA CIVIL
6
ARREGLOS Y MATRICES UNIDIMENSIONALES1.- Disear un programa que permita ingresar 10 notas por teclado. Luego presente en pantalla el contenido del arreglo.CODIGO DEL PROGRAMA:#include#includevoid main(){ const int max=10; int notas[max]; for(int i=0;i