0
Entering the result
how could I enter result of the arthematic operations example:- int no1 = 2; int no2 = 3; int add = no1 + no2; System.out.print("?"); end what should I replace the question mark https://code.sololearn.com/c13G3mxsmu9L/?ref=app
1 Answer
+ 5
The correct way is:
System.out.print(tot);//Without quotes since it's a variable.
Hope it helps.