Eric Flynn wrote:ask the user what exercises were done for the day and for how many units (1 unit = 20min)
ask the user how many minutes they ran or swam for (no less than 10minutes (if they did the exercise) and no greater than 25min)
Eric Flynn wrote:
also, would it not be better to just get rid of all the methods and just have one method called doExcercise or something and just use various parameters in the call for various situations (ie depending on what you doing)
oh maybe calculateCalories can stay?
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton