SlideShare a Scribd company logo
Conway Regional Hospital has recently hired you to help them write a program for their Inpatient
billing system. Write a program to produce an inpatient hospital bill to serve as a prototype (model)
for the administration to review. Input for the system will be the Patient ID number, the Patient
name, hospital stay measured in days, the daily inpatient rate, medication charges, and any
laboratory charges. Output should consist of the Patient ID number, the Patient name, number of
days spent in the hospital, the daily inpatient rate, the total Inpatient Charges, Medication Charges
with computed taxes, Laboratory charges, total Additional Charges, and the Total Bill. Medication
charges are taxed at an 8.5% tax rate. Use named constants when appropriate. Use main( ) as
the driver function. Allow the user to run the program as many times as desired. Write 5 functions
that main( ) calls to accomplish the task: 1. getPatientData( ): Prompts the user for the Patient ID,
the Patient name, number of days in the hospital, Daily Rate, medication charges, and laboratory
charges. Criteria for input validation: a. Patient ID must be an integer between 2000 and 8000,
inclusive. Do not allow users to enter an ID number out of this range. b. Days in Hospital cannot
be less than 1. Do not allow the user to enter a zero or a negative number of days stayed. c.
Inpatient Rate must be greater than zero. Do not allow the user to enter a zero or a negative rate.
2. computeInpatientCharges( ): Computes the inpatient charges which are the number of days in
the hospital times the daily inpatient rate. 3. computeAdditionalCharges( ): Computes taxes for
Medication and the total Additional Charges as shown in the sample bill below. 4.
computeTotalBill( ): Calculates the total bill for the patient. 5. displayResults( ): Display Patient ID,
Patient name, hospital stay in days, Inpatient Rate, Total Inpatient Charges, Medication with tax
charge, Laboratory Charges, Total Additional Charges, and Total Bill. Sample Input: Enter Patient
ID: 6468 Enter Patient Name: Susan Hill Enter Days stayed in the hospital: 5 Enter daily Inpatient
Rate: 100.50 Enter Medication Charges: 65.50 Enter Laboratory Charges: 85.00 Sample Output:
Patient ID: 6468 Patient Name: Susan Hill Length of stay (# of Days): 5 days Daily Inpatient Rate:
$ 100.50 Total Inpatient Charges: $ 502.50 Additional Charges: Medication: $ 65.50 Med Taxes $
5.57 Laboratory: $ 85.00 Total Additional Charges: $ 156.07 Total Bill: $ 658.57 Would you like to
calculate another Patient bill? Y or N N

More Related Content

Similar to Conway Regional Hospital has recently hired you to help them.pdf

Laboratory medical billing services
Laboratory medical billing servicesLaboratory medical billing services
Laboratory medical billing services
Bikham Information Technology
 
Revenue Cycle Management
Revenue Cycle ManagementRevenue Cycle Management
Revenue Cycle Management
William Kirsh, DO, MPH
 
Assignment Exercise 4–1 Contractual Allowances Physician office.docx
Assignment Exercise 4–1 Contractual Allowances Physician office.docxAssignment Exercise 4–1 Contractual Allowances Physician office.docx
Assignment Exercise 4–1 Contractual Allowances Physician office.docx
rock73
 
ENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docx
ENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docxENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docx
ENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docx
SALU18
 
ICNet Global Slides
ICNet Global SlidesICNet Global Slides
ICNet Global Slides
ICNet International Ltd
 
Part IDescribe the following 4 types of costsFixedVariableS.docx
Part IDescribe the following 4 types of costsFixedVariableS.docxPart IDescribe the following 4 types of costsFixedVariableS.docx
Part IDescribe the following 4 types of costsFixedVariableS.docx
dunnramage
 
Criterion Docs Standard
Criterion Docs StandardCriterion Docs Standard
Criterion Docs Standard
JLCriterion
 
Operating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docx
Operating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docxOperating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docx
Operating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docx
vannagoforth
 
Dbms mini project
Dbms mini projectDbms mini project
Dbms mini project
Home
 
Management information system
Management information systemManagement information system
Management information system
Nc Das
 
Common challenges faced by Physicians and Practitioners with Medical Billing
Common challenges faced by Physicians and Practitioners with Medical BillingCommon challenges faced by Physicians and Practitioners with Medical Billing
Common challenges faced by Physicians and Practitioners with Medical Billing
jennyvergeese
 
Conditions of participation presentation
Conditions of participation presentationConditions of participation presentation
Conditions of participation presentationlearfield
 
The Latest Self-Pay Trends: New Burdens and Opportunities
The Latest Self-Pay Trends: New Burdens and OpportunitiesThe Latest Self-Pay Trends: New Burdens and Opportunities
The Latest Self-Pay Trends: New Burdens and Opportunities
athenahealth
 
Compensation Personal Application Report OverviewSearch Los Ang.docx
Compensation Personal Application Report OverviewSearch Los Ang.docxCompensation Personal Application Report OverviewSearch Los Ang.docx
Compensation Personal Application Report OverviewSearch Los Ang.docx
maxinesmith73660
 
This is from healthcare management classEXERCISE 8 IMPROVEMENT
This is from healthcare management classEXERCISE 8 IMPROVEMENT This is from healthcare management classEXERCISE 8 IMPROVEMENT
This is from healthcare management classEXERCISE 8 IMPROVEMENT
blossomblackbourne
 
Clinic Management System
Clinic Management SystemClinic Management System
Clinic Management System
OsamaSoliman29
 
Most Common Reports You Should Ask From A Medical Billing CompanyPDF.pdf
Most Common Reports You Should Ask From A Medical Billing CompanyPDF.pdfMost Common Reports You Should Ask From A Medical Billing CompanyPDF.pdf
Most Common Reports You Should Ask From A Medical Billing CompanyPDF.pdf
MithaliParekh
 
Most Common Reports You Should Ask From A Medical Billing Company.pptx
Most Common Reports You Should Ask From A Medical Billing Company.pptxMost Common Reports You Should Ask From A Medical Billing Company.pptx
Most Common Reports You Should Ask From A Medical Billing Company.pptx
MithaliParekh
 
Understanding Healthcare Statistics1. Youre trying to determine.docx
Understanding Healthcare Statistics1. Youre trying to determine.docxUnderstanding Healthcare Statistics1. Youre trying to determine.docx
Understanding Healthcare Statistics1. Youre trying to determine.docx
marilucorr
 

Similar to Conway Regional Hospital has recently hired you to help them.pdf (20)

Laboratory medical billing services
Laboratory medical billing servicesLaboratory medical billing services
Laboratory medical billing services
 
Revenue Cycle Management
Revenue Cycle ManagementRevenue Cycle Management
Revenue Cycle Management
 
Assignment Exercise 4–1 Contractual Allowances Physician office.docx
Assignment Exercise 4–1 Contractual Allowances Physician office.docxAssignment Exercise 4–1 Contractual Allowances Physician office.docx
Assignment Exercise 4–1 Contractual Allowances Physician office.docx
 
ENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docx
ENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docxENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docx
ENTD311_CASE2Community Patient Portal System Part 1.pdfCP.docx
 
ICNet Global Slides
ICNet Global SlidesICNet Global Slides
ICNet Global Slides
 
Part IDescribe the following 4 types of costsFixedVariableS.docx
Part IDescribe the following 4 types of costsFixedVariableS.docxPart IDescribe the following 4 types of costsFixedVariableS.docx
Part IDescribe the following 4 types of costsFixedVariableS.docx
 
Criterion Docs Standard
Criterion Docs StandardCriterion Docs Standard
Criterion Docs Standard
 
Operating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docx
Operating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docxOperating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docx
Operating BudgetBUDGET SAMPLECurrent YearNew Budget DifferenceCom.docx
 
Dbms mini project
Dbms mini projectDbms mini project
Dbms mini project
 
Management information system
Management information systemManagement information system
Management information system
 
Common challenges faced by Physicians and Practitioners with Medical Billing
Common challenges faced by Physicians and Practitioners with Medical BillingCommon challenges faced by Physicians and Practitioners with Medical Billing
Common challenges faced by Physicians and Practitioners with Medical Billing
 
Conditions of participation presentation
Conditions of participation presentationConditions of participation presentation
Conditions of participation presentation
 
The Latest Self-Pay Trends: New Burdens and Opportunities
The Latest Self-Pay Trends: New Burdens and OpportunitiesThe Latest Self-Pay Trends: New Burdens and Opportunities
The Latest Self-Pay Trends: New Burdens and Opportunities
 
Compensation Personal Application Report OverviewSearch Los Ang.docx
Compensation Personal Application Report OverviewSearch Los Ang.docxCompensation Personal Application Report OverviewSearch Los Ang.docx
Compensation Personal Application Report OverviewSearch Los Ang.docx
 
This is from healthcare management classEXERCISE 8 IMPROVEMENT
This is from healthcare management classEXERCISE 8 IMPROVEMENT This is from healthcare management classEXERCISE 8 IMPROVEMENT
This is from healthcare management classEXERCISE 8 IMPROVEMENT
 
It in hospitals & HIS
It in hospitals & HISIt in hospitals & HIS
It in hospitals & HIS
 
Clinic Management System
Clinic Management SystemClinic Management System
Clinic Management System
 
Most Common Reports You Should Ask From A Medical Billing CompanyPDF.pdf
Most Common Reports You Should Ask From A Medical Billing CompanyPDF.pdfMost Common Reports You Should Ask From A Medical Billing CompanyPDF.pdf
Most Common Reports You Should Ask From A Medical Billing CompanyPDF.pdf
 
Most Common Reports You Should Ask From A Medical Billing Company.pptx
Most Common Reports You Should Ask From A Medical Billing Company.pptxMost Common Reports You Should Ask From A Medical Billing Company.pptx
Most Common Reports You Should Ask From A Medical Billing Company.pptx
 
Understanding Healthcare Statistics1. Youre trying to determine.docx
Understanding Healthcare Statistics1. Youre trying to determine.docxUnderstanding Healthcare Statistics1. Youre trying to determine.docx
Understanding Healthcare Statistics1. Youre trying to determine.docx
 

More from abhijitakolkar1

River bed Corporation is preparing its December 312020 ba.pdf
River bed Corporation is preparing its December 312020  ba.pdfRiver bed Corporation is preparing its December 312020  ba.pdf
River bed Corporation is preparing its December 312020 ba.pdf
abhijitakolkar1
 
Which of the following statements is supported by the theory.pdf
Which of the following statements is supported by the theory.pdfWhich of the following statements is supported by the theory.pdf
Which of the following statements is supported by the theory.pdf
abhijitakolkar1
 
Write a threepage report of approximately 1 500 words in .pdf
Write a threepage report of approximately 1 500 words in .pdfWrite a threepage report of approximately 1 500 words in .pdf
Write a threepage report of approximately 1 500 words in .pdf
abhijitakolkar1
 
Which of the following are associated with mitotic division .pdf
Which of the following are associated with mitotic division .pdfWhich of the following are associated with mitotic division .pdf
Which of the following are associated with mitotic division .pdf
abhijitakolkar1
 
What is the optimal foraging model Natural selection shou.pdf
What is the optimal foraging model   Natural selection shou.pdfWhat is the optimal foraging model   Natural selection shou.pdf
What is the optimal foraging model Natural selection shou.pdf
abhijitakolkar1
 
Sheffield Corp emite 5100 acciones ordinarias de valor nomi.pdf
Sheffield Corp emite 5100 acciones ordinarias de valor nomi.pdfSheffield Corp emite 5100 acciones ordinarias de valor nomi.pdf
Sheffield Corp emite 5100 acciones ordinarias de valor nomi.pdf
abhijitakolkar1
 
What do the following program segments print Find the answe.pdf
What do the following program segments print Find the answe.pdfWhat do the following program segments print Find the answe.pdf
What do the following program segments print Find the answe.pdf
abhijitakolkar1
 
The North American pronghorn has a number of adaptations whi.pdf
The North American pronghorn has a number of adaptations whi.pdfThe North American pronghorn has a number of adaptations whi.pdf
The North American pronghorn has a number of adaptations whi.pdf
abhijitakolkar1
 
The journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdfThe journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdf
abhijitakolkar1
 
tewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdftewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdf
abhijitakolkar1
 
TA 204a Differentiate local from systemic signs of malign.pdf
TA 204a  Differentiate local from systemic signs of malign.pdfTA 204a  Differentiate local from systemic signs of malign.pdf
TA 204a Differentiate local from systemic signs of malign.pdf
abhijitakolkar1
 
RunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdfRunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdf
abhijitakolkar1
 
Suppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdfSuppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdf
abhijitakolkar1
 
Strategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdfStrategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdf
abhijitakolkar1
 
Question 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdfQuestion 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdf
abhijitakolkar1
 
La venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdfLa venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdf
abhijitakolkar1
 
Need help with formulas Begin this exercise by opening the .pdf
Need help with formulas  Begin this exercise by opening the .pdfNeed help with formulas  Begin this exercise by opening the .pdf
Need help with formulas Begin this exercise by opening the .pdf
abhijitakolkar1
 
On January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdfOn January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdf
abhijitakolkar1
 
In a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdfIn a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdf
abhijitakolkar1
 
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
Kresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdfKresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdf
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
abhijitakolkar1
 

More from abhijitakolkar1 (20)

River bed Corporation is preparing its December 312020 ba.pdf
River bed Corporation is preparing its December 312020  ba.pdfRiver bed Corporation is preparing its December 312020  ba.pdf
River bed Corporation is preparing its December 312020 ba.pdf
 
Which of the following statements is supported by the theory.pdf
Which of the following statements is supported by the theory.pdfWhich of the following statements is supported by the theory.pdf
Which of the following statements is supported by the theory.pdf
 
Write a threepage report of approximately 1 500 words in .pdf
Write a threepage report of approximately 1 500 words in .pdfWrite a threepage report of approximately 1 500 words in .pdf
Write a threepage report of approximately 1 500 words in .pdf
 
Which of the following are associated with mitotic division .pdf
Which of the following are associated with mitotic division .pdfWhich of the following are associated with mitotic division .pdf
Which of the following are associated with mitotic division .pdf
 
What is the optimal foraging model Natural selection shou.pdf
What is the optimal foraging model   Natural selection shou.pdfWhat is the optimal foraging model   Natural selection shou.pdf
What is the optimal foraging model Natural selection shou.pdf
 
Sheffield Corp emite 5100 acciones ordinarias de valor nomi.pdf
Sheffield Corp emite 5100 acciones ordinarias de valor nomi.pdfSheffield Corp emite 5100 acciones ordinarias de valor nomi.pdf
Sheffield Corp emite 5100 acciones ordinarias de valor nomi.pdf
 
What do the following program segments print Find the answe.pdf
What do the following program segments print Find the answe.pdfWhat do the following program segments print Find the answe.pdf
What do the following program segments print Find the answe.pdf
 
The North American pronghorn has a number of adaptations whi.pdf
The North American pronghorn has a number of adaptations whi.pdfThe North American pronghorn has a number of adaptations whi.pdf
The North American pronghorn has a number of adaptations whi.pdf
 
The journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdfThe journal entry to record the accrual of interest expense .pdf
The journal entry to record the accrual of interest expense .pdf
 
tewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdftewer mill subit a dim in the coming vear 0055094501110.pdf
tewer mill subit a dim in the coming vear 0055094501110.pdf
 
TA 204a Differentiate local from systemic signs of malign.pdf
TA 204a  Differentiate local from systemic signs of malign.pdfTA 204a  Differentiate local from systemic signs of malign.pdf
TA 204a Differentiate local from systemic signs of malign.pdf
 
RunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdfRunHeavy Corporation RHC is a corporation that manages a l.pdf
RunHeavy Corporation RHC is a corporation that manages a l.pdf
 
Suppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdfSuppose that Econland experiences a recession.pdf
Suppose that Econland experiences a recession.pdf
 
Strategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdfStrategic Public Sector Governance The Critical Role of Comm.pdf
Strategic Public Sector Governance The Critical Role of Comm.pdf
 
Question 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdfQuestion 11 1 point Control is the process of comparing ac.pdf
Question 11 1 point Control is the process of comparing ac.pdf
 
La venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdfLa venta de negocios puede lograr muchos objetivos diferente.pdf
La venta de negocios puede lograr muchos objetivos diferente.pdf
 
Need help with formulas Begin this exercise by opening the .pdf
Need help with formulas  Begin this exercise by opening the .pdfNeed help with formulas  Begin this exercise by opening the .pdf
Need help with formulas Begin this exercise by opening the .pdf
 
On January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdfOn January 4 2020 Black Corporation acquired 100 of the o.pdf
On January 4 2020 Black Corporation acquired 100 of the o.pdf
 
In a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdfIn a survuy peeple were asked whether they thought sun went.pdf
In a survuy peeple were asked whether they thought sun went.pdf
 
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
Kresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdfKresel Zihniyet  Kresel Zihniyet  Bu nedir Neden nemlid.pdf
Kresel Zihniyet Kresel Zihniyet Bu nedir Neden nemlid.pdf
 

Recently uploaded

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 

Recently uploaded (20)

Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 

Conway Regional Hospital has recently hired you to help them.pdf

  • 1. Conway Regional Hospital has recently hired you to help them write a program for their Inpatient billing system. Write a program to produce an inpatient hospital bill to serve as a prototype (model) for the administration to review. Input for the system will be the Patient ID number, the Patient name, hospital stay measured in days, the daily inpatient rate, medication charges, and any laboratory charges. Output should consist of the Patient ID number, the Patient name, number of days spent in the hospital, the daily inpatient rate, the total Inpatient Charges, Medication Charges with computed taxes, Laboratory charges, total Additional Charges, and the Total Bill. Medication charges are taxed at an 8.5% tax rate. Use named constants when appropriate. Use main( ) as the driver function. Allow the user to run the program as many times as desired. Write 5 functions that main( ) calls to accomplish the task: 1. getPatientData( ): Prompts the user for the Patient ID, the Patient name, number of days in the hospital, Daily Rate, medication charges, and laboratory charges. Criteria for input validation: a. Patient ID must be an integer between 2000 and 8000, inclusive. Do not allow users to enter an ID number out of this range. b. Days in Hospital cannot be less than 1. Do not allow the user to enter a zero or a negative number of days stayed. c. Inpatient Rate must be greater than zero. Do not allow the user to enter a zero or a negative rate. 2. computeInpatientCharges( ): Computes the inpatient charges which are the number of days in the hospital times the daily inpatient rate. 3. computeAdditionalCharges( ): Computes taxes for Medication and the total Additional Charges as shown in the sample bill below. 4. computeTotalBill( ): Calculates the total bill for the patient. 5. displayResults( ): Display Patient ID, Patient name, hospital stay in days, Inpatient Rate, Total Inpatient Charges, Medication with tax charge, Laboratory Charges, Total Additional Charges, and Total Bill. Sample Input: Enter Patient ID: 6468 Enter Patient Name: Susan Hill Enter Days stayed in the hospital: 5 Enter daily Inpatient Rate: 100.50 Enter Medication Charges: 65.50 Enter Laboratory Charges: 85.00 Sample Output: Patient ID: 6468 Patient Name: Susan Hill Length of stay (# of Days): 5 days Daily Inpatient Rate: $ 100.50 Total Inpatient Charges: $ 502.50 Additional Charges: Medication: $ 65.50 Med Taxes $ 5.57 Laboratory: $ 85.00 Total Additional Charges: $ 156.07 Total Bill: $ 658.57 Would you like to calculate another Patient bill? Y or N N