Answers for "c program to print the multiplication table"

C
0

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);
    }
}
Posted by: Guest on April-19-2021
1

Write a C program that will print a multiplication table of given number

printf(" %d x %d = %d \n ", number, i, number * i);
Posted by: Guest on February-02-2021

Code answers related to "c program to print the multiplication table"

Code answers related to "C"

Browse Popular Code Answers by Language