Академический Документы
Профессиональный Документы
Культура Документы
#include <iostream>
#include <windows.h>
int precio=10,resultado=0;
resultado = precio*pedido;
return resultado;
return total;
void menu()
int clientes=0,pedido=0,opcion=1,precio=0,precio_total=0,ventas=0;
while(opcion==1)
cout<<"Bienvenido"<<endl;
cout<<"2. Salir"<<endl;
if(opcion!=1) break;
else
precio = monto_pedido(pedido);
precio_total=monto_total(precio_total,precio);
clientes++;
ventas++;
Sleep(1000);
system("cls");
}
//return 0;
int main()
cout<<menu()<<endl;
//return 0;