+ 3

Java bottle program

Hello could anyone help to show me my mistakes in java program? I am learning java language and I want to create a program which shows whether I want to put some amount of water form one bottle to another with some conditions... I cant find why it is not working... https://code.sololearn.com/c1y9u2867iIf/#java

17th Apr 2018, 11:02 AM
Paweł Grünholz
Paweł Grünholz - avatar
2 Réponses
0
you have two classes called bottle put the main method from the first class in the second class and you use sometimes x and sometimes i
17th Apr 2018, 11:15 AM
Stefanoo
Stefanoo - avatar
0
i think it is not the only problem
17th Apr 2018, 11:18 AM
Paweł Grünholz
Paweł Grünholz - avatar