Created
March 27, 2018 07:23
-
-
Save osamaadam/a7ddb0cefcd86a08d912dff93c1be39d to your computer and use it in GitHub Desktop.
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 number; | |
int start; | |
int end; | |
printf("Please enter the number: \n"); | |
scanf("%d", &number); | |
printf("Please enter the start number: \n"); | |
scanf("%d", &start); | |
printf("Please enter the end number: \n"); | |
scanf("%d", &end); | |
while(start<=end) | |
{ | |
printf("%d x %d = %d\n", number, start, number*start); | |
start++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment