Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design and implement a Java program that helps a personal trainer keep track of his/her clients exercise plan on a weekly basis. The system will

Design and implement a Java program that helps a personal trainer keep track of his/her clients exercise plan on a weekly basis. The system will allow the user to enter via the keyboard data that has been collected by a trainer during a clients session each day. The system should allow up to a months worth of data (not all clients will have a session every day) to be entered. This data will include the individuals first and last name and an array of data collected per session which will include the following: date, physical activity/exercise for the day, calories consumed, calories burned, the number of minutes spent on the activity, type of activity (cardio/ strength/etc.) and average heart rate (no need to calculate this just an arbitrary numeric value can be entered) for a given day. Error checking of all data is required.

Once all data is collected the user should be asked if they would like to print the data collected for a specific client or the data for every client that the trainer works with. When searching for a specific client if the client cannot be found the system should ask the user if they would like to add the client to the system. If the response is affirmative the system should allow for the data to be added to the existing list of clients.

Again, the program should allow entry of client information via the keyboard with the maximum number of clients being 20, but the list can contain less. This assignment should use classes, arrays, and methods to implement the system.

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

Students also viewed these Databases questions