0
CASE
Can anyone help me to resolve this? the program is asking for 2 numbers, and then an operator (+,-,*,/) At the end the program should show me the result that made with the numbers and the operator. please check the link https://code.sololearn.com/c0A207a23A10
1 Réponse
+ 1
To use Scanner import Scanner class .
import java.util.Scanner ;
---------
Remove the extra curly braces from end .
---------
Use equals method of string to compare values , i.e. operador.equals("*").
"==" Compares object references .