I\'m making simulation of a coffee machine in java script and have to make method which adds water to the machine. There are some conditions that had to be examined and I did th