Create a small menu-based application for a restaurant

Assignment Help JAVA Programming
Reference no: EM133256643

Assignment description

In this lab assignment, you will create a small menu-based application for a restaurant named "Hamilton Hamburgers." You will implement the basic Java concepts such as decision-making structures, looping statements, strings, and exception-handling mechanisms.

o ELO 1. Solve processing problems in Java using the Input-Processing-Output model.
o EOP 1.1. Describe Java's primitive data types.
o EOP 1.2. Compare primitive data types to reference data types.
o EOP 1.3. Explain the importance of typecasting and promotion.
o EOP 1.4. Use correct Java Syntax to get input from standard input, process it using basic arithmetic and String operations, and output the result to standard output.
o EOP 1.5. Use Java arithmetic expressions, Boolean expressions, selection statements. and repetition statements to solve basic computing problems.
o EOP 1.6. Use arrays to solve basic computing problems.
o EOP 1.7. Use exception handling techniques to recover from run-time errors gracefully.

To complete this assignment, compile and execute the following Java program:

1 Review the rubric to understand the expectation of this assignment.

2. Print the name of the restaurant at the top.

3. Print the following menu for Hamilton Hamburgers:

 

Type of Burger

Price

1.              

Veggie Burger

35.95

2.              

Deluxe Veggie Burger

$7.95

3.              

Chicken Burger

$6.45

4.              

Cheese Chicken Burger

38.50

5.              

Cheese Bacon Burger

$9.25

6.              

Deluxe Bacon Burger

$10.95

7.              

Healthy Organic Burger

312.45

8.              

Quit

 

4. Ask the user to select the items from the menu using numbers (1 to 8).

5. Add an exception if the customer is selecting any other option apart from 1 to 8 OR not selecting any option.

6. Ask for the quantify after each item is selected.

7. Once the selection is done. the user needs to press 8 to quit.

8. Find the total price after multiplying each quantity by their price.

9. Add 13% tax to the total amount.

10. If the bill is more than S50. then apply a 5% discount to the users order.

11. If the bill is more than 5100. then apply a 10% discount to the users order

12. Take the order from 5 different customers using loops.

13. Print the total billing amount and take a screenshot for each order.

14. Download the Assignment 1 Student Template and add the screenshots to the template.

15. Export all Java codes into a zip file.

16. Submit the zip file and the Assignment 1 Student Template to this Submission Folder using the following naming convention

Reference no: EM133256643

Questions Cloud

Planning a safe social event : Identify the other 2-4 members of your group and how you will work together. You may work with family members, friends, classmates
Characteristics of infant-directed speech : What are strategies that children use when learning new words? Explain. What are the characteristics of infant-directed speech?
Appropriate brain structure for further processing : The initial processing center of all senses but smell, relaying transduced sensory information on to the appropriate brain structure for further processing.
Define forgiveness-gratitude and humility : Define forgiveness, gratitude and humility in what it means to you. How important are forgiveness, gratitude and humility to you?
Create a small menu-based application for a restaurant : Assignment: Create a Menu-Based Application Using Java - create a small menu-based application for a restaurant named Hamilton Hamburgers
Define juvenile delinquency : Define juvenile delinquency and discuss some of the variables that might either encourage or prevent it.
Pay particular attention to visual self-recognition test : Read the section discussing the Developing Sense of Self in infants carefully. Pay particular attention to the visual self-recognition tests
Effectiveness of flexible learning platform : What is the participants' perceived effectiveness of the flexible learning platform in terms of:
What are cohort effects : What are "cohort effects?" What are the research-psychology definitions of "sample" and "population".

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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