-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVEmpresa.cpp
35 lines (29 loc) · 951 Bytes
/
VEmpresa.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* VEmpresa.cpp
*
* Created on: 2/3/2016
* Author: LuisA
*/
#include "VEmpresa.h"
VEmpresa::VEmpresa() {
// TODO Auto-generated constructor stub
}
void VEmpresa::ReporteSalaCine(vector<string> auxtiposa,
vector<string> auxtipofu, vector<string> auxcod,
vector<int> auxcantev, float montotv){
Limpiar();
ImprimirEncabezado("REPORTE DE SALAS CINEX METROPOLIS", "==============================");
for(unsigned int i=0; i<auxtiposa.size(); i++){
ImprimirNroJustificado(i+1, 5);
ImprimirLineasBlanco(1);
ImprimirStringJustificado("Tipo Sala: "+ auxtiposa[i], 10);
ImprimirStringJustificado("Tipo de funcion: "+ auxtipofu[i], 10);
ImprimirLineasBlanco(1);
ImprimirString("Codigo de la pelicula: ", auxcod[i]);
ImprimirLineasBlanco(1);
ImprimirNro("Total entradas vendidas", auxcantev[i]);
ImprimirLineasBlanco(1);
}
ImprimirNroDecimal("MONTO TOTAL BSF. INGRESADO A LA EMPRESA: ", montotv);
Pausa();
}