15th Aug 2018, 4:32 PM
Brady Stinson
2 ответов
+ 5
You can't really use utf codes here so I made it ascii. you can't have two scanners as the first gets all of the inputs. I changed your loop to stop, when there isn't another integer. the string compares were testing to see if they were the same instance of string class, not if they contained the same values. the easiest input method is like: 5 2 + 5 2 - 5 2 * 5 2 / https://code.sololearn.com/crR37L01s6t6
15th Aug 2018, 5:20 PM
John Wells
John Wells - avatar
+ 1
John Wells Thank you! I now understand what was wrong. I greatly appreciate your correction and explaination!
16th Aug 2018, 4:35 AM
Brady Stinson