Codigo For
CODIGO :
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int i, numeros_a_imprimir = 0;
cout<<"Digite el total de numeros a imprimir : ";
cin>>numeros_a_imprimir;
for(i=1; i<=numeros_a_imprimir;i++)
{
cout<<i <<endl;
}
return 0;
}
Comments
Post a Comment