I made a few corrections.
Code:
#include <stdio.h>
int main()
{
int times_tables, correct_answer,user_answer;
int counter;
int correct_answer_counter = 0;
int incorrect_counter = 0;
printf("Please enter the times tables you wish to be tested on between 1-12\n");
scanf("%d", & times_tables);
printf("You are now going to be tested on your %d times tables\n",times_tables);
for (counter=1;counter < 13; counter++)
{
printf("%d * %d=" ,times_tables,counter);
scanf("%d",&user_answer);
correct_answer = times_tables * counter;
if (user_answer != correct_answer)
{
printf("This is not the right answer please try again\n");
incorrect_counter++;
counter--;
}
}
printf("Incorrect Answers: %d", incorrect_counter);
}