Answer:
E) while( !(userGuess == secretNumber) && numGuesses <= 15 )
Step-by-step explanation:
The first part of this answer !(userGuess == secretNumber) verifies that the userGuess is not equal to the secretNumber. Yes, the equal sign (double as it should be when comparing things) is between the userGuess and the secretNumber, but all this expression is inside a parenthesis... which is negated by the ! before it.
The second part verifies tht the numGuesses <= 15 because the counter is initialized at 1, so to get a total of 15 values, we have to go from 1 to 15. If it had been initialized at 0, we would have checked for 14.