Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A diabetic research center wants you to develop an application that keep truck of glucose reading for a certain number of patients in a given

A diabetic research center wants you to develop an application that keep truck of glucose reading for a certain number of patients in a given day. The application should display a report after each input consisting of full name, age, reading, and a statement related to the glucose level (normal, high, low). When the user ends the input for all patients, your program must display the patient related info. For the patient with the highest glucose level and the patient with the lowest level.

Your input consists of:

-patient full name.

-patient age.

-patient glucose reading (dont enter glucose reading if patient is not fasting for more than 12 hours: need to check with patient first).

Note that you must repeat the input and glucose evaluation for each patient (loop needed). Also, when, user is prompted to continue, validate the user answer accordingly.

Required:

-Code a single method for all of the input. Do not evaluate and reject input if patient is not fasting for 12 hours or more). ( because all your variables are declared within the class they are available to all methods so you can do this)

-Code a method that evaluates the state of the glucose level (80-130 normal, less than 80 too low, over 130 too high)

-Code a method that displays the patient report including his/her state of the glucose level.

-Code a method that determines the patient with highest glucose level.

-Code a method that determines the patient with lowest glucose level.

-Code a method that displays a final report for the patient with higher glucose level.

-Code a method that displays a final report for the patient with lowest glucose level. We are only allowed to use very basic Java.

Methods, calls, while loops, cases.

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

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago