+--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 1 How many minutes did you exercise? Minutes: 120 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 2 How many minutes did you exercise? Minutes: 120 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 150 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 59 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 6 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 7 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 8 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 9 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 0 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 1020 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 79 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 2 How many minutes did you exercise? Minutes: 46 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 1 How many minutes did you exercise? Minutes: 34 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 5 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 5 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 5 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 5 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 6 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 1 How many minutes did you exercise? Minutes: 34 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 2 How many minutes did you exercise? Minutes: 47 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 102 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 89 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 64 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 97 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 2 How many minutes did you exercise? Minutes: 12 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 2 How many minutes did you exercise? Minutes: 34 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 1 How many minutes did you exercise? Minutes: 56 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 30 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 4 How many minutes did you exercise? Minutes: 33 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 3 How many minutes did you exercise? Minutes: 240 +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 404 ERROR: Invalid option - please choose again +--------------------------------------------+ | Welcome to the calorie counter! | Here are your options: | 1) Running | 2) Biking | 3) Weight lifting | 4) Dancing | 5) Quit | | Choice: 5 Table: +---------------------------------------------+ | Exercise | Minutes | Calories | +---------------------------------------------+ | Running | 244 min(s) | 2847 cal(s) | +---------------------------------------------+ | Biking | 259 min(s) | 2806 cal(s) | +---------------------------------------------+ | Weights | 821 min(s) | 4105 cal(s) | +---------------------------------------------+ | Dancing | 148 min(s) | 987 cal(s) | +---------------------------------------------+ | Totals | 1472 min(s) | 10745 cal(s) | +---------------------------------------------+ Horizontal Graph: +--------------------------- Running (mins) |^^^^^^^^ Running (cals) |****** | Biking (mins) |^^^^^^^^^ Biking (cals) |****** | Weights (mins) |^^^^^^^^^^^^^^^^^^^^^^^^^^^ Weights (cals) |******** | Dancing (mins) |^^^^^ Dancing (cals) |** +--------------------------- Vertical Graph (challenge): 27 | ^ 26 | ^ 25 | ^ 24 | ^ 23 | ^ 22 | ^ 21 | ^ 20 | ^ 19 | ^ 18 | ^ 17 | ^ 16 | ^ 15 | ^ 14 | ^ 13 | ^ 12 | ^ 11 | ^ 10 | ^ 9 | ^ ^ 8 | ^ ^ ^* 7 | ^ ^ ^* 6 | ^* ^* ^* 5 | ^* ^* ^* ^ 4 | ^* ^* ^* ^ 3 | ^* ^* ^* ^ 2 | ^* ^* ^* ^* 1 | ^* ^* ^* ^* +--------------------------------------- Running Biking Weights Dancing