You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
MIGUEL Á. TOLEDO MARTÍNEZ<br />
{<br />
int respuesta;<br />
do<br />
{<br />
cout > respuesta;<br />
}<br />
while(respuesta < balanceCero && respuesta > fin);<br />
return respuesta;<br />
}//Fin de obtenerRespuesta()<br />
bool debeDesplegar(int tipo, double balance)<br />
{<br />
if(tipo == balanceCredito && balance < 0)<br />
return true;<br />
if(tipo == balanceDebito && balance > 0)<br />
return true;<br />
if(tipo == balanceCero && balance == 0)<br />
return true;<br />
return false;<br />
}//Fin de deboDesplegar()<br />
void lineaSalida(int cuenta, const char *nombre, double balance)<br />
{<br />
cout