Programas en c++

Tuesday, January 24, 2006

Algoritmo que imprime los numeros del 1 al 10 usando while

#include <iostream.h>
#include <conio.h>

main()

{
int c;
while(c<10)
{
c++;
cout<<c<<endl;
}
getch();
}

0 Comments:

Post a Comment

<< Home

Google