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"); } }

21st Feb 2020, 5:26 AM
hrishsome
hrishsome - avatar
1 Resposta
+ 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); } }
21st Feb 2020, 5:53 AM
Hatsy Rei
Hatsy Rei - avatar