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