Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Case study: Dental Clinic Write a java program that demonstrate a system for a dental clinic. The clinic provides many services such as: orthodontics, endodontics,

image text in transcribed
image text in transcribed
Case study: Dental Clinic Write a java program that demonstrate a system for a dental clinic. The clinic provides many services such as: orthodontics, endodontics, prosthodontics, ..etc. The system allows the customer to choose one of the services provided and then print the customer receipt at the screen that shows the customer's name, mobile number and the service needed with its price. It also asks the customer to rate the service by entering a value from 1 to 5 to measure how quality is. How it works? Input: It should ask the customer for: 1- the name. 2- the mobile number. 3- the service required (customer able to choose one service from list of services). You can have you own list as you prefer 4. rate the quality of service by entering a value from 1 to 5 . Process: 1- Calculate the price for every service. 2. Print a receipt for every customer that shows the name, mobile number, the service, and the price of the service. 3. Ask a customer for evaluating the quality of services, using the scale (1-5) stars as the following: - 1 star strongly unsatisfied. - 2 stars unsatisfied. - 3 stars satisfied - 4 stars strongly satisfied. - 5 stars outstanding Scenario Example: Lama wants to have an orthodontic in the dental clinic. The program should run with a welcome message and simple introduction to what this system for, then ask her about her name: (First name and last name), her mobile number:(0555555555) and then she choose the service she wants from the menu of services. Once she chose to do orthodontic, she should be asked about the type of orthodontic braces materials (ceramic, metal, or Invisalign), apply for both upper jaw teeth and lower jaw teeth or one of them. Next, her receipt should be printed at the screen showing the full services she wants with the total price. The receipt should show her full name, her mobile number, her services she asked, and the total price. Furthermore, she should be asked to evaluate the quality of service by entering one value from 1 to 5 as described above. The system will terminate after a thank you message shown at the screen to thank Lama for using the services and for the quality of services assessment. Assignment Submission: This assignment will be submitted within 2 phases as follows: Phase 1: 1. Write a full detailed description using the problem-solving strategies, pseudocode, and the flowchart for how the system work, what the given data are, and how the process would be implemented. 2. Start writing the java program that implement the Process 1 Calculate the price for every service. 3. Write a useful comment for every line in the code to explain what the line does. 4. MUST submit 2 files: - File (1): pdi file for point (1). - File(2): java file that contain the code and the comments (point 2, 3) 5. The due is Weekf8 Thursday 4/7/1444H,26/1/2023 at 11:59pm Phase 2: 6. Update the code that submitted in phase 1 and add the second and the third process: (Print a receipt for every customer that shows the name, mobile number, the service, and the price of the service) and (Ask a customer for evaluating the quality of services, using the scale (1-5) stars) 7. Rewrite the code using methods that apply the process above and make changes in the codes as appropriate. 8. Write a documentation file to explain what you have done, what the difficulties you faced, and how you solved it. 9. MUST submit 2 files: - File (1): -pdf file for point (8). - File(2): Java file that contain the code and the comments (point 6, 7) 10. The due is Week:10 Thursday 18/7/1444H,9/Feb/2022 at 11:59pm

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Step: 3

blur-text-image

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

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions