Top Banner
ESTRUCTURA REPETITIVA FOR 1.- Diseñar un programa que imprima la serie 1, 2,…., 10 en pantalla. Cada número debe ir en una fila diferente. CODIGO DEL PROGRAMA: #includeconio.!" #includeiostream.!" oid main $% & for$int i'1(i'10(i))% coutiendl( cout*+in del programa*( getc!$%( 2.- Diseñar un programa que imprima el termino 0 de la siguiente serie 1, 2, /, , 1 …. CODIGO DEL PROGRAMA: #includeconio.!" #includeiostream.!" oid main $% & clrscr$%( int '1( for$int i'1(i 0(i))% ' )i( cout*3n4l termino 0 es * ( getc!$%(
4

Estructura Repetitiva For

Nov 03, 2015

Download

Documents

Estructura Repetitiva For
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

ESTRUCTURA REPETITIVA FOR1.- Disear un programa que imprima la serie 1, 2,., 10 en pantalla. Cada nmero debe ir en una fila diferente.CODIGO DEL PROGRAMA:#include#includevoid main (){ for(int i=1;i