program to print numbers

#include<stdio.h>
#include<conio.h>
void main()
{
 int a,i;
 clrscr();
printf("enter a  number=");
scanf("%d",&a);
 for(i=0;i<=a;i++)
  {
    printf("%d\n",i);
   }
getch();
}

Comments

Popular posts from this blog

how to make pendrive bootable

Layout design in Android Studio

How to hack wifi password-2017