/*TABLE USING WHILE*/
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j=1,c;
clrscr();
printf("\n Enter the no.::");
scanf("%d",&i);
while(j<=10)
{
 c=i*j;
 printf("\n%d",c);
 j++;
}
getch();
}
/* OUTPUT
Enter the no.::
2
4
6
8
10
12
14
16
18
20 */
  
 
No comments:
Post a Comment