how to create a multiplication table in c code example
Example 1: c program to print the multiplication table
#include <stdio.h>
int main(){
int a, b, c, e;
printf("Enter table format: \n");
scanf("%d", &a);
printf("Enter end of table: \n");
scanf("%d", &e);
for(b = 0; b <= e; b++){
printf("%d * % d = %d\n", b, a, a*b);
}
}
Example 2: multiplication in c
//use the "*"
/*var*/ * /*var*/;