Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while(cOpcionComercio == 's' || cOpcionComercio == 'S') {
- printf("Ingrese el nombre del comercio: ");
- scanf("%s", &Comercio.Nombre);
- printf("\nDesea ingresar un producto ? <S/N>");
- printf("\nOpcion: ");
- scanf("%c", &cOpcionProducto);
- while(cOpcionProducto == 's' || cOpcionProducto == 'S') {
- printf("\nIngrese tiempo de llamada en minutos, mayor a 0: ");
- scanf("%i", &Comercio.DuracionLlamada);
- if(iConfirmarDuracion > 0){
- Comercio.DuracionLlamada = iConfirmarDuracion;
- }
- iAntDuracion = Comercio.DuracionLlamada;
- if(iAntDuracion < iConfirmarDuracion) {
- MasLarga.DuracionLlamada = iAntLlamada;
- MasLarga.Codigo = Comercio.Codigo;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement