Question: Using Java, please write the code for the following program as simply as possible. Please make sure to follow the prompt exactly Use of collections

Using Java, please write the code for the following program as simply as possible. Please make sure to follow the prompt exactly Use of collections is NOT ALLOWED. Comments are appreciated. Thank you!

Using Java, please write the code for the following program as simply

as possible. Please make sure to follow the prompt exactly Use of

A. Objectives 1. Implement and use Stack class and methods (20 points 2. Use a separate class to represent Objects for Stack (10 points) 3. Write additional methods to search through a Stack (10 points) 4. Use methods to do separate and repetitive work. The main method should not have more than 20 lines of code (10 points 5. Implement the project correctly. (40 points) 10 points will be awarded for use of meaningful identifiers, consistent indentation, explanatory comments in your code and properly formatted output. B. Description For a variety of reasons, human beings track the food they intake. Assume you are working for a healthcare analytics company, and need to gather information about the eating habits of your clients. You need to create a software that helps in doing your work. For this purpose, yo write a meni driven program with the following options: 1. Register client and create client login (clicnt supplies the clientID and password, and the clientID must be unique 2. Login existing client 3. Add a food item client ate 4. Check the complete history of food a client ate in a day in reverse order (all food items listed here from dinner to breakfast 5. Check all the different types of food items a client ate in a day (all food items listed here only once 6. Total calories eaten in a day 7. Food with the maximum calorie in a day 8. Food that the client ate maximum number of times in a day 9. Logout

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!