Last active
April 15, 2021 11:18
-
-
Save btechmag/d03a9be716189f17171a5a56d178005f to your computer and use it in GitHub Desktop.
Simple C program to compute multiplication table for a given number
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(int argc, char const *argv[]) | |
{ /* sud1*/ | |
int i,n; | |
n=9; | |
printf("\enter the num\n"); | |
scanf("%d",&n); | |
for(i=1;i<=10;i++) | |
{ | |
printf("\n%d*%d=%d",n,i,n*i); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment