0
How can I do multiplication table in c ?
I only managed to have the output at 1x0=0 - 1x8=8 and not 1Ă0=0 - 1x10=10
3 Answers
+ 2
#include <stdio.h>
int main()
{
int n,i;
printf("enter n=");
scanf("%d",&n);
for(i=0;i<=10;i++)
{
printf("\n %d * %d= %d",n,i,n*i);
}
return 0;
}
Hope it will be helpful to you âșïž
0
Why ? What's your code ?
0
Search the Code Playground for inspirations. Switch language filter to C, and scope filter to either Trending or Most Popular (where available).