Powered By Blogger

Feb 11, 2025

17. Multiplication Table of a Number

 #include <stdio.h>

int main() {

    int num;

    printf("Enter a number: ");

    scanf("%d", &num);

    for (int i = 1; i <= 10; i++)

        printf("%d x %d = %d\n", num, i, num * i);

    return 0;

}


No comments:

Post a Comment

Featured Post

Data Analysis

    What is data analysis and its significance?   Data analysis is the process of collecting, transforming, and organizing data to dr...

Popular Posts