#include <iostream.h>#include <conio.h>main(){ int i,n; cout<<"Enter a number:"; cin>>n; for(i=1;i<=n;i++) cout<<i<<endl; getch();}