title: java codes for a restaurant multiple steps
body: <p><strong>Question 1:</strong></p>
  
  <p>Assuming “OOP Restaurant” owner has engaged you to write a Java
  program to take the restaurant customer order. The beverage menu of
  the restaurant is as shown in Table 1. This program must allow customer
  to decide how many items he/she wish to order. Then, it will let the
  customer to choose the each item according to his/her preference. Upon
  completion of the ordering, the program will display the total amount of
  the order to the customer. Then, the program must ask the customer
  whether to do another set of ordering.</p>
  
  <p>In your code, you must create a method to process the item choice and
  return the price of the item using the following method signature:</p>
  
  <pre><code>double processItem(int input)
  </code></pre>
  
  <p>The sample out is as shown in Figure 1.</p>
  
  <pre><code>Beverage     | Price
  Fried Rice   | RM5.50
  Chicken Rice | RM5.00
  Toast Bread  | RM2.00
  Mixed Rice   | RM3.80
  Table 1
  </code></pre>
  
  <p>How do i even start this? i'm a law student but got forced to do this please do help me out your kindness would be repayed thanks in advance</p>