Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions