#include <stdio.h>

main()
{
 int x, NumQuestion, Num1, Num2, Response;
 srand(time());
 printf("Enter Number of Question to ask : ");
 scanf("%d",&NumQuestion);
 
 for (x=0; x<NumQuestion; x++)
 {
 
  Num1=rand() % 10 + 1;
  Num2=rand() % 10 + 1;

  printf ("n What is %d x % d : , Num1, Num2);
  scanf ("%d", &Response);
  
  if ( Response == Num1 * Num2)
   printf ("n Conguratuations!");
  
  else
   printf ("n false");
 }// for loop
 getch();
}//main function