I am trying to get the user to re enter the the number again if they enter a value of less than ten i am certain the problem lies with the while statement. this what i have
printf_s("Enter the player first name: ");
scanf_s("%s", names[i], 25); //enters name and creates a newline <enter key>//
printf_s("Minimum number to stop in a turn: ");
scanf_s("%d", &min_number, sizeof(int));
do {
printf_s("please enter a number greater or egual to 10");
} while (min_number <= 10);
scanf_s("%d ", &min_number);
printf_s("please enter a number greater or equal to 10\n\n");
is a do while loop the best option or should i look at using another type of loop