Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c program to print the multiplication table

#include <stdio.h>
int main(){
    int a, b, c, e;
    printf("Enter table format: 
");
    scanf("%d", &a);
    printf("Enter end of table: 
");
    scanf("%d", &e);
    for(b = 0; b <= e; b++){
        printf("%d * % d = %d
", b, a, a*b);
    }
}
 
PREVIOUS NEXT
Tagged: #program #print #multiplication #table
ADD COMMENT
Topic
Name
1+9 =