Question: (Make program in Java) Make a program that tracks your caloric intake daily, by tracking the number of calories you eat for every meal for

(Make program in Java)

Make a program that tracks your caloric intake daily, by tracking the number of calories you eat for every meal for a week. Make this program in a way that it stores information int a two-dimensional 7X4 array. With each row representing a day of the week and each column representing different meal.

Ask user for calorie count for each meal and day

Dont accept negative values for calorie input

Make a report that provides info from number 4-9

4-Total caloric intake for each day, include name of day

5-Average daily caloric intake for week, name of day

6-Average weekly caloric consumption each meal, name of day and meal

7-Smallest calorie intake on an individual meal during week, name of day and meal

8-Largest calorie intake on individual meal during week, name of day and meal

9-Provide methods to compute to compute each of these quantities as well as a method to ask for user input and one to generate a report

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!