//Gaynor Thomas Week 6 Repetition
#include <stdio.h>

void main()
{
int x;
int total;
int factor;
	printf("Welcome to the times table program\n\n");

	printf("Please enter the times table you want:");
	scanf("%d",&factor);

	for(x=1;x<13;x++)
	{
	total=x*factor;
	printf("%d * %d = %d\n",x,factor,total);
	}
	
}