Write A Program for printing Mathematical Table
# include <stdio.h> #include<conio.h> main( ) { int i, n, k = l; printf (“enter n value”); scanf (“%d”, &n); ...
https://www.computersprofessor.com/2016/06/write-program-for-printing-mathematical.html?m=0
# include <stdio.h>
#include<conio.h>
main(
)
{
int
i, n, k = l;
printf
(“enter n value”);
scanf
(“%d”, &n);
for
(i = 1; i< 20; i ++)
{
k
= i * n ;
printf
(“\n % d* %d = %d”, i, n, k);
}
getch();
}
Out
Put:
Each
n value 2
1*2=2
2*2=4
3*2=6
.
.
.
20*2=40