Create an array of five insuredpatient objects

Assignment Help Basic Computer Science
Reference no: EM13757652

Assignment On Patient Data

Create a Patient class for the Wrightstown Hospital Billing Department Include a patient ID number, name, age, and amount due to the hospital. Include properties and any other methods you need. Override the ToString() method to return all the details for a patient. Write an application that prompts the user for data for five Patients. Sort them in patient ID number order and display them all, including a total amount owed.

Save the program as PatientDemo.es.

Using the Patient class as a base, derive an InsuredPatient class. An InsuredPatient contains al the data of a Patient, plus fields to hold an

Insurance company name. and the percentage of the hospital bit the insurance company will pay. Insurance payments are based on the following table:

Insurance Company Portion of bill paid by insurance (Ye)

Wrightstown Mutual 80

Red Umbrella 60

All other companies 25

Create an array of five InsuredPatient objects. Create a program that justifies the following:

• Prompts the user for all the patient data, plus the name of the insurance company; the insurance company set accessor determines the percentage paid.

• Overrides the parent class ToString() method to include the name of the insurance company. the percent paid, and the amount due after the insurance has been applied to the bill.

• Sorts all the records in ID number order and displays them with a total amount due from all insured patients,

Save the program as PatientDemo2.cs.

Write an application that uses an extension method for the Patient class. The method computes and returns a Patient's quarterly insurance payment (one-fourth of the annual premium). The application should allow the user to enter data for five Patients and then display all the

Patient data for each. including the quarterly payment.

Save the program as PatientDemo3.cs.

Embed the programs in a Microsoft Word document.

Cite any sources in APA format on a separate page.

Reference no: EM13757652

Questions Cloud

Write a 3-page paper on gender and social movements : Write a 3-page paper on GENDER AND SOCIAL MOVEMENTS. Which includes: Summarize your article, What was the catalyst that provoked the social movement and What type of social movement was it.
The profile of a leader for the corporations position : The profile of a leader for the corporation's position. Each leadership skill that would be considered for the management positions in the company
What is a vpn as at&t describes it : The Network Service page will show all of the services that AT&T can provide to a large business to connect their sites to each other, to other organizations, and to their customers. What is a VPN as AT&T describes it
Write an essay on a japanese film called grave of fireflies : Write an essay about a Japanese film called Grave of the Fireflies. The professor asks us to watch this movie and think about how this film reflect the Japanese culture or society.
Create an array of five insuredpatient objects : Create an array of five InsuredPatient objects. Create a program that justifies the following- Prompts the user for all the patient data, plus the name of the insurance company; the insurance company set accessor determines the percentage paid.
Analyze the use of an enterprise software systems : Analyze the use of an Enterprise Software Systems (ESS) in a health care organization with regard to its effects on operational outcomes
Explain the term developmental continuum : Explain the term developmental continuum. As you view this video segment, what evidence/observations/insights illustrate this term?
Draw the hierarchy chart and then plan logic for a program : Draw the hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold
Provide a brief overview - synopsis of the issue : Provide a brief overview - synopsis of the issue and discuss the model or economic theory that relates to the issue presented in the news article.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What does a java class contain

What does a Java class contain that identifies it as a Java application?

  Write challenges with requirement elicitation

What is meant by "enterprise-wide analytics technology," and how can it play part in understanding business processes? Write down the challenges related with "requirement elicitation"

  Compute mttf of the system

Suppose we have an eight CPU computer with four hard drives. MTTF of each cpu is 100000 hours and the MTTF of the hard drive is 50000 hours. What is the mttf of the system?

  Write some code that exchanges their values

There are two string variables, s1 and s2, that have already been declared and initialized, write some code that exchanges their values.

  Write a program to fetch the state and marital status

Write a program to fetch the state and marital status of five users? If user is from CA, NV, AR, V count them towards the western region

  Write a method, insertat, that takes four parameters

write a method, insertAt, that takes four parameters:an array of integers; the length of the array; an integer, say insertItem; and an interger, say, index.

  The functions square and double take a single int parameter

The functions square and double take a single int parameter and return an int result.The function compute takes a value n and a function f, and returns the result of calling that function f with n as its parameter.So, compute(3,square) evaluate..

  Type and topology of lan

Type and topology of LAN

  How a company developed a template for a web page

Marion has argued that with modern information technologies, collocation of team members is no longer important. How would you respond to this claim?

  Discussion focuses on optimization

Discussion focuses on optimization

  Which of the following describes a technology

Which of the following describes a technology that delivers electrical power via Ethernet ports? Please select all that apply.

  What does this value indicate

The value of the Destination Address in a given Ethernet frame contains ff:ff:ff:ff:ff:ff. What does this value indicate?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd