Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

imageimageimage

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Code is divided into self explanatory functions Thus Only requried comments are added in the code Code Mainjava import javautil public class Main priv... 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_2

Step: 3

blur-text-image_3

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

Essentials Of Services Marketing

Authors: Jochen Wirtz

4th Edition

1292425199, 9781292425191

More Books

Students also viewed these Programming questions

Question

What are the four main purposes service environments fulfill?

Answered: 1 week ago