0

Fraction Calculator

Help me make this work please!!! Anyone!! https://code.sololearn.com/cI7SX1Wj5coq/#java

21st Nov 2016, 11:15 PM
Jared Winfield
Jared Winfield - avatar
3 ответов
0
You have to say how the input is supposed to look like
22nd Nov 2016, 8:59 AM
Roland
0
input is: w_n/d w=whole number n=numerator d=denominator the first and second if statement in the code are supposed to parse out the variables whole#, numerator#, and denominator#
22nd Nov 2016, 11:19 PM
Jared Winfield
Jared Winfield - avatar
0
It runs now. But you still have to implement some logic. Btw the input has to be something like 4_2/3 + 3_2/4. https://code.sololearn.com/csR3gta26Bw9/#
23rd Nov 2016, 12:12 PM
Roland