+ 1
Why method calling is not working?
2 Respostas
+ 5
Aayush Jat
It does work, but you may be placing your inputs in the wrong order.
Run
add
6
7
Submit
outputs 13
+ 2
Also it is recommended to use .Equals() method for string comparison rather than the equality operator `==`
Line 23:
if ( input.Equals( g ) )