0

How to divide obtained from Scanner, by values (Java)

I need to create a calculator. Which receives from the scanner: for example.: 5 + 8 or 15 / 3 .etc Аnd need to separate this expression by elements Input : 5 + 8 int a //5 char b // + int c // 8 Output: 13

5th Oct 2019, 9:13 AM
AllBeEver
AllBeEver - avatar
2 Réponses
0
Please, help me
5th Oct 2019, 9:14 AM
AllBeEver
AllBeEver - avatar