Redisplays the menu after the user selected operation

Assignment Help Basic Computer Science
Reference no: EM131275048

I have the pseudocode of this question but Im stuck on structuring the code into Java. the question is: Design a algorithm that displays the following menu, gets the user selection, and validates the selection.

Main Menu

1. Open a new document.

2. Close the current document.

3. Print the current document.

4. Exit the program

Enter your selection

The pseudocode is: Design a algorithm that displays the following menu, gets the user selection, and validates the selection.

Main Menu

1. Open a new document.

2. Close the current document.

3. Print the current document.

4. Exit the program

Enter your selection

The other question i need Java for are: 2.) Design a case structure that can be used with the algorithm. The case structure should call a module named openDocumnet if the user selected item 1, should call a module named closeDocument if the user selected item 2, should call a module named printDocument if the user selected item 3.

3.)Put the algorithms that you designed for Questions 1 and 2 together inside a loop that redisplays the menu after the user's selected operation is performed, or exits if the user selects item 4 from the menu.

4.)Look for ways to modularize the algorithm that you designed for Algorithm Workbench Question 3 and modify it accordingly

Reference no: EM131275048

Questions Cloud

Identify risk and apply risk management processes : BSBRSK401 - Identify risk and apply risk management processes Review the scenario information contained in the Appendices of this assessment task and identify the internal and external context for risk management with respect to the MacVille scenario..
Identify the most senior leader of the organization : Identify and explain the stakeholder organization perspective: Payer (insurers, government payers, and employers); Provider (entities and individuals providing services in the health care system); Patient (consumers); or Producer (a product develo..
Explain formal and informal structures and decipher : Explain formal and informal structures and decipher between traditional and non-traditional frameworks. Describe the characteristics that set functional, divisional, and matrix structures apart.
State the hume-rothery rules and explain the rationale : Based on Hume-Rothery's conditions, which of the following systems would be expected to display unlimited solid solubility?
Redisplays the menu after the user selected operation : Put the algorithms that you designed for Questions 1 and 2 together inside a loop that redisplays the menu after the user's selected operation is performed, or exits if the user selects item 4 from the menu.
What is the mirror image rule : What must a party prove to recover under the theory of quasi-contract?- What is the mirror-image rule?- What is the mailbox rule?
Create action plan and calendar to move your business plan : Create an action plan and calendar to move your business plan forward? Review your long-term and short-term objectives and create a more cohesive plan to help meet your goal?
What is required to prove promissory estoppel : List the four types of consideration described in the text.-  What is required to prove promissory estoppel when consideration is missing?
List the three elements of accord and satisfaction : List and describe the three exceptions to the preexisting-duty rule.-  List the three elements of accord and satisfaction.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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