Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

Purpose:

The purpose of this assignment is to practice using loops, selections, and other basic features of Java in order to solve a real-world problem.

Program Description:

The Jeddah Broker Company is one of the companies here in Jeddah which act as broker between government ministries and the people. Jeddah Broker Company supplies many services with great prices!

Jeddah Broker Company is needing a new e-Portal, which should allow people to perform the following actions:
- get information about the supplied services
- make appointments for different types of services (sales or pay bills)
- submit customer feedback or complaint

Program Details:

You need to display the main menu in a loop! Why? Because after the customer makes their choices, the menu should appear again. The customer can then exit the system or perform other services.

Additionally, some of the sub-menus should be in a loop, constantly asking the user for their choice if/when an invalid choice is entered. See output for detailed examples.

All service information is given to you on the final page(s) of this PDF. Please use the exact information in those tables for your program.

Important:
There are many cases to consider. Make sure you study the output file CAREFULLY to make sure your program works 100%.

The BEST problem-solving strategy is for YOU to study the output and try to understand what is happening and how you can solve it in code.

Additionally, we give brief description on the next page for some components of your program.

Program 3 Details:

All service information is given to you on the final page(s) of this PDF. Please use the exact information in those tables for your program.

Write a program that meet the following requirements of the company. The program at the first display the menu

Welcome to Jeddah Broker Company Customer e-Portal

1 : Get information about the Supplied Services |
2 : Make appointments for different types of services(Request or Pay Bill ) |
3 : Submit customer feedback or complaint |
4 : Exit

> Please enter your choice:

if the user choose any choice from 1 to 3, the next menu will be displayed

------- SERVICES -------

E or e : Electricity Services |
W or w : Water Services |
C or c : Communication Services |
P or p : Return to Main Menu

> Please enter the choice:

- If the user choose 1 from main menu and choose any service from the services menu, the menu related to different types of requests for this service will display. For example if the user choose E for Electricity services, the types of electricity menu will display.

------- ELECTRICITY -------

| R or r: Residential |
| C or c: Commercial |
| A or a: Agricultural |
| H or h: Charities |
| P or p: Previous Menu |
-----------------------------------

> Please enter the choice:

Based on the choice from the electricity menu the information for this type of service will display according to information available in the Table 1. See output for more details.

- If the user choose 1 from main menu and choose for example W for Water services, the types of services of water menu will display.

------- WATER -------
------------------------------------
| N or n: New Connection |
| T or t: Request Tanker |
| O or o: Open Meter |
| P or p: Previous Menu |
-----------------------------------
> Please enter the choice:

Based on the choice from the water menu the information for this type of service will display according to information available in the Table 1. See output for more details.

- If the user choose 1 from main menu and choose any for example C for Communication services, the types of services of STC menu will display.

------- STC -------

|
| MS:
MR: Mobile Postpaid
Mobile Prepaid |
|
| LL: Land Line |
| IN: Internet |
| PR: Previous Menu |
-----------------------------------
> Please enter the choice:

Based on the choice from the STC menu the information for this type of service will display according to information available in the Table 1. See output for more details. Note: The choices here are of type String

- if the user choose 2 from main menu, choose any service from the services menu and choose the specific service, the appointment type menu will display.

------ APPOINTMENT TYPE ------
| 1: Service Request Appointment |
| 2: Pay Bill Appointment |
| 3: Previous Menu |
-----------------------------------
> Please enter the choice:

- If the user choose 1 from the appointment type menu, the program will ask him to enter some information such as name, mobile and other information and display the entered information. Please see output.

- If the user choose 2 from the appointment type menu, the program will ask him to enter some information such as name, mobile and other information and display the entered information. Please see output.

- If the user choose 3, the program will return back to the previous menu
electricity or water or STC menu based on his choice.

- if the user choose 3 from main menu, choose any service from the services menu and choose the specific service, the feedback/complaint menu will display

------ FEEDBACK/COMPLAINT ------
-------------------------------------
| 1: Submit Feedback |
| 2: Submit Complaint |
| 3: Previous Menu |
-----------------------------------
> Please enter the choice:

Please see the output related to this menu and other choices for other menu

- When the user choose 4 from main menu, the summary of activities table should be shown similar to the one in the output.

Input validation

If the user enter incorrect choice, the program should continue to show the menu and display the message "Invalid Input!!! Please Try Again."

Attachment:- SAMPLERUN.pdf

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91961797

Have any Question?


Related Questions in Programming Language

Assignmentquestion onegiving the following code snippet

Assignment Question One Giving the following code snippet. What kind of errors you will get and how can you correct it. A. public class HelloJava { public static void main(String args[]) { int x=10; int y=2; System.out.p ...

Background informationthis assignment tests your

Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fun ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Question 1 what is a computer program what is structured

Question: 1. What is a Computer program? What is structured programming? 2. What is modular programming? Why we use it? 3. Please evaluate Sin (x) by infinite series. Then write an algorithm to implement it with up to th ...

Question 1 what is hadoop explaining hadoop 2 what is

Question: 1. What is Hadoop (Explaining Hadoop) ? 2. What is HDFS? 3. What is YARN (Yet Another Resource Negotiator)? The response must be typed, single spaced, must be in times new roman font (size 12) and must follow t ...

Task arrays and structsoverviewin this task you will

Task: Arrays and Structs Overview In this task you will continue to work on the knight database to help Camelot keep track of all of their knights. We can now add a kingdom struct to help work with and manage all of the ...

Php amp session managment assignment -this assignment looks

PHP & SESSION MANAGMENT ASSIGNMENT - This assignment looks at using PHP for creating cookies and session management. Class Exercise - Web Project: Member Registration/Login This exercise will cover adding data connectivi ...

Task working with arraysoverviewin this task you will

Task: Working with Arrays Overview In this task you will create a simple program which will create and work with an array of strings. This array will then be populated with values, printed out to the console, and then, w ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As