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

27th Dec 2020, 2:14 PM
yo-han Doe
yo-han Doe - avatar
3 Respostas
+ 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 ☺️
27th Dec 2020, 2:54 PM
KRITI
KRITI - avatar
0
Why ? What's your code ?
27th Dec 2020, 2:18 PM
Hima
Hima - avatar
0
Search the Code Playground for inspirations. Switch language filter to C, and scope filter to either Trending or Most Popular (where available).
27th Dec 2020, 2:21 PM
Ipang