0

Why the code inside if block not running?

Input format: int + int And how to check variable type or data type? https://code.sololearn.com/cKyKUYJsXXVA/?ref=app

16th Jan 2021, 9:12 AM
Name
Name - avatar
2 ответов
+ 3
Name Use equals method instead of == because == compares reference not value. if (sign.equals("+")) https://code.sololearn.com/c3R6c3AdkvPl/?ref=app
16th Jan 2021, 9:14 AM
A͢J
A͢J - avatar
+ 2
ok got it... thanks
16th Jan 2021, 9:17 AM
Name
Name - avatar