Program
1. Write a program to enter any number print the table,
(एक ऐसा प्रोग्राम बनाइए जिसमें कोई भी नंबर दे तो उसका टेबल प्रिंट करें)
=> #include<stdio.h>
#include<conio.h>
void main( )
{
int a,b,c;
clrscr( );
printf("Enter the any no");
scanf("%d",&a);
for(b=1;b<=10;b++)
{
c=a*b
printf("%d\n",c);
}
getch();
}
Output:-enter no. 2
2 4 6 8 10 12 14 16 18 20