program to get multiple tables of Entered number using c programming language

#include<stdio.h>
int main()
{
    int n,m;
    printf("Which multiplication table do you want:");
    scanf("%d",&n);
    
    for(int i=1;i<=10;i++)
    {
       m=n*i;
       printf("\n\t%d X %d = %d\n",n,i,m); 
    }
}

Comments

Popular posts from this blog

AI and Human Evolution

Snake Game using JAVA

To Do List App (GUI) using C#