Computers

Create a class named Checkup with fields that hold a patient number, two blood pressure figures (systolic and diastolic), and two cholesterol figures (LDL and HDL). Include methods to get and set each of the fields. Include a method named computeRatio() that divides LD cholesterol by HDL cholesterol and displays the result. Include an additional method named ExplainRatio() that explains that HDL is known as “good cholesterol” and that a ration of 3.5 or lower is considered optimum. Include the appropriate comments including your name, date, and chapter information.

Create a class named TestCheckup whose main() method declares four Checkup objects. Provide values for each field for each patient. Then display the values. Blood pressure numbers are usually displayed with a slash between the systolic and diastolic values. (Typical numbers are values such as 110/78 or 130/90.) With the cholesterol figures, display the explanation of the cholesterol ratio calculation. (Typical numbers are values such as 100 and 40 or 180 and 70.) Include the appropriate comments including your name, date, and chapter information.

What is your question on this?

1. 👍 0
2. 👎 0
3. 👁 220

Similar Questions

1. pseudocode

Create a class named Year that contains data fields to hold the number of months in a year and the number of days in a year. Include a constructor that sets the number of months to 12 and the number of days to 365, and get and set

asked by Wayne on April 8, 2015
2. Programming Logic and Design

Create a class named Year that contains data fields to hold the number of months in a year and the number of days in a year. Include a constructor that sets the number of months to 12 and the number of days to 365, and get and set

asked by WayneR on April 8, 2015
3. object oriented programming

Create a project named BankAccountTester. Create a class named BankAccount. A bank account has fields for a balance. The bank account balance should be initialized to 0. The bank account class should include a deposit which adds

asked by heather on July 21, 2018
4. programming

Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include a method that sets all the data files and another that prints the values for each data field. Create the class

asked by hazy on September 1, 2011
5. HCA 220

posted a soap, teacher asked that i change the s & o. this is what i did: s - patient is here for a non routine checkup, she is 4 months pregnant and is complaining of weakness, fatigue, lack of appetite and lightheadedness. o -

asked by Jackie on February 10, 2011
6. C#

The Peterman Publishing Company has decided that no published book should cost more than 10 cents per page. Create a BookException class whose constructor requires three arguments: a string Book title, a double price and an int

asked by Isaih on August 29, 2012
7. Calculus

the drop in blood pressure of a typical patient who is given a certain medication is given by F(x)=0.028x^2(19-x) where x is the amount of medication in cubic centimeters. What is the maximum drop in blood pressure for this

asked by Kim on May 1, 2012
8. chemistry

The hydornium ion concentration in blood of three different patiens was: Patient [H30+] A 5.0 X 10^-8 B 3.1 X 10^-8 C 3.2 X 10^-8 What is the pH of each patient's blood? If the normal range is 7.30-7.50, which, if any, of these

asked by Gayla on April 26, 2009
9. programming

Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data ﬁeld. Also include a displayInfo() method that displays each of

asked by stephanie on March 30, 2013
10. Medical coding and Billing

Which of the following might constitute breach of patient-doctor confidentiality? A. Medical assistant phones patient to convey test results B. Medical assistant looks at patient’s medical records C. Receptionist with no medical

asked by Stacy on May 27, 2009

More Similar Questions