Need the program urgent very urgent please follow the standard in the program
Restaurant Order Management System (ROMS)
Problem Case:
Create a ROMS system, which is intended to take an order from the customer and charge a bill to the customer.
Creating an Order for the customer
- Create an Order class that contains the Menu objectâ??s in appropriate Collection for storing the Menu. Menu can contain details such as Name, Price etc
PaymentInterface is an Interface; classes PaymentByCash,PaymentByCard and PaymentBySodexo implement this Interface.
PaymentByCash â?? It will charge a VAT of 5% on the total bill
PaymentByCard â?? It will charge a VAT of 5% plus an extra 2% on the total bill
PaymentBySodexo â?? It will charge a VAT of 8% plus an extra 2.5% on the total bill
Cashier class
In the constructor, populate an instance member of type HashMap containing Payment type as the key and Cashier name (of your choice) as the value.
Write a getCashier method that accepts the payment type and returns the cashier name.
Main Class
1. Create a class ROMS (the base class) and order for 10 menu items of your choice. Invoke a method from PaymentInterface to calculate the bill amount by passing the Order object and Payment type (card, cash or sodexo coupons).
Display the total bill amount to the user and the bill date in mm/dd/yyyy format.
Invoke the getCashier of the Cashier class by passing the Payment Type and display the cashier name.
Write the total bill amount, the cashier name and the bill date on the console.
Note the all inheritance methodology should be followed.
View Answers
Ads
Related Tutorials/Questions & Answers:
Advertisements
Please help me... its very urgent
Please help me... its
very urgent
Please send me a java code to check whether INNODB is installed in mysql...
If it is there, then we
need to calculate the number of disks used by mysql
urgent need
urgent need Input a line. Count the number of words that start with a capital letter
very urgent
very urgent **
how to integrate struts1.3
,ejb3,mysql5.0 in jboss server with
myeclipse IDE
problem question please need urgent answers
problem question
please need urgent answers Problem Statement
Given.... You only
need to complete this function. The Main and Node classes for storing linked list are already defined, so you will not
need to add them. Every time you
problem question please need urgent answers
problem question
please need urgent answers Problem Statement
Given.... You only
need to complete this function. The Main and Node classes for storing linked list are already defined, so you will not
need to add them. Every time you
swing program plz urgent sir - Java Beginners
swing
program plz
urgent sir
hi sir,i waan a jtable swings
program table having column names "itemid","price".Initially table having single empty row.whenever we click the "enter" button automatically new row will be insert
PLease reply its urgent
PLease reply its
urgent Write a java function that has... the number of times the minute and hour hands of a
standard analog clock would cross...:minute:second format.
How's that
urgent
urgent...pleAse help me.....please!
urgent...
pleAse help me.....
please!
please help me
urgent! how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks
urgent please, help!
urgent please, help! how to make jTable unclickable and have unmovable columns, thanks in advance
import javax.swing.*;
import java.awt.*;
public class SimpleJTableExample{
public static void main(String[] args
Urgent
J2ME programming Hi,
J2ME programming - How to learn J2ME Programming
very fast?
Thank You
Need urgent help with C++ errors!
Need urgent help with C++ errors! hi,
i'm new to C++ programming... don't know what to do.
Please help!!
#include<iostream.h>
void main...'
Fatal XYZ.CPP 2: Unable to create output file 'C:\XYZ.obj'
somebody
please
Ple help me its very urgent
Ple help me its
very urgent Hi..
I have one string
1)'2,3,4'
i want do like this
'2','3','4'
ple help me
very urgent
very urgent, want to submit my project on monday
very urgent, want to submit my project on monday i have the code for connected combo-boxes(jsp). But the thing i want to know is, how to access... combobox (state).
When i'm using 'state' i'm getting null value...help me..
please
beginner need help with online ordering program please
beginner
need help with online ordering
program please I have created a
program for an online ordering system and now have to add error handling and a few other things my teacher doesn't teach well is there a template I can go
Very urgent Image Selection - JSP-Servlet
Very urgent Image Selection Respected Sir/Madam,
I am...]=="greenar.gif")
{
count++;
}
}
if(count==0)
{
alert("
Please Select Employee Id...)
{
alert("
Please Select Employee Id");
return false;
}
return true;
}
function
plz help -java project very urgent
plz help -java project
very urgent ? Ford furniture is a local furniture store in acts, and they as CS graduate students to implement a software system to generate various reports for them at the end of each month. You
need to Program
need to
Program Can any one help me on below
How to insert more then one records in EXCEL Sheet using JSP
Urgent requirement
Urgent requirement I want to implement Autocompletion code for Jcombobox in swing can you
please help me out from
ModuleNotFoundError: No module named 'urgent'
ModuleNotFoundError: No module named '
urgent' Hi,
My Python
program is throwing following error:
ModuleNotFoundError: No module named '
urgent'
How to remove the ModuleNotFoundError: No module named '
urgent'
C Program....PLEASE HELP
C
Program....
PLEASE HELP For this assignment, you are to write a
program that calculates points along a rhodonea curve,
a.k.a. a mathematical rose..., and pointers.
I am lost and
need a little help starting
please
*int fillArray
Would you know answer means please send reply urgent
Would you know answer means
please send reply urgent HTTP Status 404 - /struts/HelloWorld.jsp
type Status report
message /struts/HelloWorld.jsp
description The requested resource (/struts/HelloWorld.jsp) is not available
need help with program
need help with program To write a
program to read a set of words from a file and return the following
1)Each word in the file against its frequency
2) the frequency should be in the descending order of the frequencies
please explain this program
please explain this program public class MainClass {
public static void main(String[] args) {
System.out.println("Java
need a java program for the following
need a java
program for the following Write a java
program with three horizontal sliders. Name the sliders, the first one as red, the second one as green and the third one as blue. You design the
program such that on varying
need help with program
need help with program To write a
program where we can take two integer array as input,Find the missing number from array"B" has all the numbers from array"A" except one,and find the fastest way in doing