Documentos de Académico
Documentos de Profesional
Documentos de Cultura
h>
#include <stdlib.h>
#include <math.h>
int main(){
int almacen[10];
int VJ[10],VA[10],VS[10];
for (x=1;x<=10;x++){
printf("\t********INVENTARIO*********");
scanf("%d",&VJ[x]);
scanf("%d",&VA[x]);
scanf("%d",&VS[x]);
system("cls");
do{
printf("\n ****Menu*****\n");
printf("\n 4. salir.\n");
scanf("%d",&opcion);
switch(opcion){
case 1:
for(x=1;x<=10;x++){
printf("Julio: %d\n",VJ[x]);
printf("Agosto: %d\n",VA[x]);
printf("Sep: %d\n",VS[x]);
system("PAUSE");
system("cls");
break;
case 2:
else
if ( VA > VS )
else
break;
default:
printf("\n---------------");
break;
}
switch (opcion) {
case 3:
for(x=1;x<=10;x++){
promedio = suma/3;
}
while ( opcion !=4 );
printf("\n---------------");