06.05.2013 Views

CONTENIDO DE LA LECCIÓN 8

CONTENIDO DE LA LECCIÓN 8

CONTENIDO DE LA LECCIÓN 8

SHOW MORE
SHOW LESS

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 />

/* El siguiente programa: CIN1.CPP, calcula la suma de dos enteros introducidos desde el teclado<br />

mediante cin y el operador de extracción de flujo.<br />

*/<br />

#include //Para cin y cout<br />

void main(void)<br />

{<br />

Ejemplo 7.2<br />

Ejemplo 7.3<br />

La relativamente alta precedencia de los operadores >> y x >> y;<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!