Write a program to create a Billing Application for a GP service in Sydney. 'CBD family...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program to create a "Billing Application" for a GP service in Sydney. 'CBD family medical practise' is a well-known GP service around city CBD area. They cover services like General practitioner service, pathology, eye check-up and dental. Create an application for them their billing system to calculate the final price for each patient depends on below table. Babies aged 0-2: 1) GP service 2) Pathology 3) Eye-check up-$250 4) Dental - $200 -$150 (MediCare or private insurance cover - $300 (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover Toddlers aged 2-5: 1) GP service -$100 2) Pathology -$300 3) Eye-check up-$250 4) Dental -$300 Kids aged 5-12: 1) GP service - $95 2) Pathology -$300 3) Eye-check up - $200 4) Dental -$300 Teens aged 12-18: 1) GP service - $90 2) Pathology -$300 3) Eye-check up-$195 4) Dental - $350 Adults aged 18-60: 1) GP service -$80 2) Pathology -$300 3) Eye-check up - $180 4) Dental - $360 (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover Pensioner aged - above 60 1) GP service -$70 2) Pathology -$300 3) Eye-check up - $150 4) Dental - $400 (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover -70%) - 80%) -60%) -60%) -75%) - 80%) - 65%) -50%) -80%) -80%) -70%) -60%) - 85%) -80%) -70%) -50%) - 90%) -80%) - 80%) - 65%) - 95%) - 80%) - 95%) - 85%) When a receptionist or cahier starts the application, first it should ask appropriate menu to choose patient age. Then when cashier enters the age, another menu displays to display or choose the service level. When cashier enters the service level the amount payable should be auto calculated by knowing whether the customer have Medicare/private insurance. If yes, then the discount/cover applied then only the gap will be collected from customer. If no, then customer/patient needs to pay the full amount. The same will be repeated for many customers by cashier., so the program will loop repeatedly until the user says so. At the end of each day, the application should be display total amount of service that has been offered today. 3 1 Welcome to "CBD family medical practise" ****************** ********** **************** 2 Choose patient age: (type numbers from 1-6 to choose) 1) Babies aged 0-2 2) Toddlers aged 2-5 3) Kids aged 5-12 4) Teens aged 12-18 5) Adults aged 18-60 6) Pensioner aged - above 60 Choose Service level: (type numbers from 1-4 to choose) 1) GP service 2) Pathology 3) Eye-check up 4) Dental Does the patient have Medicare/private insurance? (Type yes/no) Yes Amount Payable - $19 Do you want to repeat for another customer? (Type yes/no) Yes *********: ***** Choose patient age: (type numbers from 1-6 to choose) 1) Babies aged 0-2 2) Toddlers aged 2-5 3) Kids aged 5-12 4) Teens aged 12-18 5) Adults aged 18-60 6) Pensioner aged - above 60 **** 2) Pathology 3) Eye-check up 4) Dental Choose Service level: (type numbers from 1-4 to choose) 1) GP service Does the patient have Medicare/private insurance? (Type yes/no) No Amount Payable - $300 Do you want to repeat for another customer? (Type yes/no) No Write a program to create a "Billing Application" for a GP service in Sydney. 'CBD family medical practise' is a well-known GP service around city CBD area. They cover services like General practitioner service, pathology, eye check-up and dental. Create an application for them their billing system to calculate the final price for each patient depends on below table. Babies aged 0-2: 1) GP service 2) Pathology 3) Eye-check up-$250 4) Dental - $200 -$150 (MediCare or private insurance cover - $300 (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover Toddlers aged 2-5: 1) GP service -$100 2) Pathology -$300 3) Eye-check up-$250 4) Dental -$300 Kids aged 5-12: 1) GP service - $95 2) Pathology -$300 3) Eye-check up - $200 4) Dental -$300 Teens aged 12-18: 1) GP service - $90 2) Pathology -$300 3) Eye-check up-$195 4) Dental - $350 Adults aged 18-60: 1) GP service -$80 2) Pathology -$300 3) Eye-check up - $180 4) Dental - $360 (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover Pensioner aged - above 60 1) GP service -$70 2) Pathology -$300 3) Eye-check up - $150 4) Dental - $400 (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover (MediCare or private insurance cover -70%) - 80%) -60%) -60%) -75%) - 80%) - 65%) -50%) -80%) -80%) -70%) -60%) - 85%) -80%) -70%) -50%) - 90%) -80%) - 80%) - 65%) - 95%) - 80%) - 95%) - 85%) When a receptionist or cahier starts the application, first it should ask appropriate menu to choose patient age. Then when cashier enters the age, another menu displays to display or choose the service level. When cashier enters the service level the amount payable should be auto calculated by knowing whether the customer have Medicare/private insurance. If yes, then the discount/cover applied then only the gap will be collected from customer. If no, then customer/patient needs to pay the full amount. The same will be repeated for many customers by cashier., so the program will loop repeatedly until the user says so. At the end of each day, the application should be display total amount of service that has been offered today. 3 1 Welcome to "CBD family medical practise" ****************** ********** **************** 2 Choose patient age: (type numbers from 1-6 to choose) 1) Babies aged 0-2 2) Toddlers aged 2-5 3) Kids aged 5-12 4) Teens aged 12-18 5) Adults aged 18-60 6) Pensioner aged - above 60 Choose Service level: (type numbers from 1-4 to choose) 1) GP service 2) Pathology 3) Eye-check up 4) Dental Does the patient have Medicare/private insurance? (Type yes/no) Yes Amount Payable - $19 Do you want to repeat for another customer? (Type yes/no) Yes *********: ***** Choose patient age: (type numbers from 1-6 to choose) 1) Babies aged 0-2 2) Toddlers aged 2-5 3) Kids aged 5-12 4) Teens aged 12-18 5) Adults aged 18-60 6) Pensioner aged - above 60 **** 2) Pathology 3) Eye-check up 4) Dental Choose Service level: (type numbers from 1-4 to choose) 1) GP service Does the patient have Medicare/private insurance? (Type yes/no) No Amount Payable - $300 Do you want to repeat for another customer? (Type yes/no) No
Expert Answer:
Answer rating: 100% (QA)
Code is divided into self explanatory functions Thus Only requried comments are added in the code Code Mainjava import javautil public class Main private static void printAgeMenu SystemoutprintlnChoos... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
What type of counter circuit from Chapter 7 could control the enables in Figure 8-37 so that only one buffer is on at any time, and the buffers are enabled sequentially? Figure 8-37 Input A Input B...
-
Discuss the two-pipe system, how it works, and its advantages and disadvantages.
-
Walgreens Boots Alliance, Inc. reported inventories of $8,678 million and $6,076 million in its August 31, 2015, and August 31, 2014, balance sheets, respectively. Cost of goods sold for the year...
-
Orion, Inc., a U.S. corporation, reports foreign-source income and pays foreign taxes for the tax year as follows. Orion's worldwide taxable income is $600,000, and U.S. taxes before the FTC are...
-
All organisms need energy in order to grow, reproduce, and perform the activities necessary for survival. Where does this energy ultimately come from?
-
Charlie Co. needs 20,000 units of a certain part to use in its production cycle. The following information is available: Cost to Charlie to make the part: Direct materials . . . . . . . . . . . . . ....
-
A construction company has four large bulldozers located at four different garages. The bulldozers are to be moved to four different construction sites. The distances in miles between the bulldozers...
-
Green Planet, Inc., a manufacturer of air filter systems for industrial facilities, is considering the addition of a new system to its current product line. The following data has been forecasted: ...
-
Name the reproductive parts of an angiosperm. Where are these parts located? Explain in brief the structure of its female reproductive parts.
-
There are six alternative ways to improve a production line. The capital costs needed, the extra annual OMR costs required and the extra annual benefits generated from the improvement are as follows:...
-
Explain how Cavendish was able to determine the force of attraction with his experimental apparatus
-
Gillstrap Promotions has projected the following values for the next three months: February $379,000 Sales Purchases on Trade Credit January $352,000 $218,000 Cash Expenses Taxes, interest, and...
-
A meteorite 80,000km from the earth is moving toward the earth at 2,000. Ignoring air friction, what will be its velocity on impact
-
A. Call option price goes from $2.05 to $1.85 while the underlying stock price decreases from $40 to $38. What is the value of call Delta? What is the value of put Delta? If the price of the stock...
-
A mathematical model for tumor growth is given by dX/DT =c ln (k/x) where X = X(t) is the size of the tumor, is the carrying capacity, i.e. the maximum size that can be reached with the available...
-
As water moves through the hydrologic cycle, water quality changes are common because of natural phenomena or anthropogenic pollution. Using Figure 11.1, describe how water-quality changes occur...
-
What are the three broad target audiences of service communications?
-
Identify two new service developments that have failed. Analyze the causes for their failure.
-
What are the four main purposes service environments fulfill?
-
What a difference a single outlier can make! The data set in Table 7.7 presents a collection of ordered pairs \((x, y)\). a. Using Minitab, draw a scatterplot and run a simple linear regression...
-
Can the use of social media stress you out? A researcher is interested in finding out whether college students who extensively use social media tend to have higher levels of stress. To test this, a...
-
A plant manager wants to estimate how the number of units produced at a plant is affected by the number of employees. The data in Table 7.9 gives a random sample of the number of units produced and...
Study smarter with the SolutionInn App