You're welcome.
Type: Posts; User: GregBrannon
You're welcome.
Assign what is collected by the Scanner object to a variable and then compare that. Something like:
double userAnswer = serena.nextDouble();
if ( userAnswer == answer ) . . . etc.
Please post your code correctly.
'=' is an assignment operator. '==' is a comparison operator.