why this programme (table) is not running ? | SoloLearn: Learn to code for FREE!

0

why this programme (table) is not running ?

#include<stdio.h> void main() { int i,n,t; printf("enter the n"); scanf("%d",&n); for(i=1;i<=10;i++) { t=i*n; printf("%d*%d=%d,i,n,t"); } }

2/21/2020 5:26:30 AM

hrishsome

1 Answer

New Answer

+2

#include<stdio.h> int main() { int i,n,t; scanf("%d",&n); for(i=1;i<=10;i++) { t=i*n; printf("%d*%d=%d\n",i,n,t); } }