Skip to content

Instantly share code, notes, and snippets.

@osamaadam
Created March 27, 2018 07:23
Show Gist options
  • Save osamaadam/a7ddb0cefcd86a08d912dff93c1be39d to your computer and use it in GitHub Desktop.
Save osamaadam/a7ddb0cefcd86a08d912dff93c1be39d to your computer and use it in GitHub Desktop.
#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