You are on page 1of 1

THIS PROGRAMME IS FOR INPUT OF TEN NUMBERS

#include<stdio.h>
#include<conio.h>
void main()
{
int a[10],i;
clrscr();
printf("Enter 10 numbers from the keyboard\n");
for(i=0;i<10;i++)
{
scanf("%d",&a[i]);
}
printf("\nYou have entered following Numbers\n\n");
for(i=0;i<10;i++)
{
printf("%d\n",a[i]);
}

getch();
}

RESULT

You might also like