Created
October 21, 2018 05:30
-
-
Save OkenHaha/9309fc690f109e10b021753e6ba1eb16 to your computer and use it in GitHub Desktop.
Multiplication Table in C
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> | |
#include<conio.h> | |
void main() { | |
int num,value,res,i; | |
clrscr(); | |
printf("Enter a multiple: "); | |
scanf("%d",&num); | |
printf("Enter multiple upto times: "); | |
scanf("%d",&value); | |
printf("\n"); | |
for(i=1;i<=value;i++) { | |
res=num*i; | |
printf("%d x %d = %d\n",num,value,res); | |
} | |
getch(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment