#include <stdio.h>
int main()
{
int n, i,start, range;
printf("Enter an integer: ");
scanf("%d",&n);
printf("Enter the Start: ");
scanf("%d", &start);
printf("Enter the range: ");
scanf("%d", &range);
for(i= start; i <= range; ++i)
{
printf("%d * %d = %d \n", n, i, n*i);
}
return 0;
}
Output Of Program
No comments: