SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 4 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 16 Oct 2017 My Price 8.00

Method createInvoice generates a String that is eventually

Method createInvoice generates a String that is eventually printed in a JOptionPane dialog box. 

createInvoice calls calculateCharge. If the customer is type STUDENT, the base cost is $25.

If the customer is type FACULTY, the base cost is $50. If the customer

is type GOVERNMENT, the base cost is $35.

calculateCharge charges $99 if the course type is PROGRAMMING or MATHEMATICS; $59 if the

course type is PHOTOGRAPHY, MUSIC, or PAINTING; $39 if the course type is MISC. If the customer is

type STUDENT each online course is an additional $20. If the customer type is

FACULTY each online course is an additional $25 and each in class course is an additional $5. 

If the customer type is GOVERNMENT, there is no extra charge.

ArrayList courseList keeps a list of all courses taken/enrolled in by the customer. 

Write test case, CustomerTest, that creates three customers with the data given. The customers are

kept in ArrayList, customerList. Then, using an enhanced for loop, polymorphically walk through

the customerList and create the invoice for each customer. Print all customer information to the

command prompt. Print the customer name, customer account number and total charges for each

customer in a dialog box. All customers will show in one dialog box as shown

Attachments:

Answers

(5)
Status NEW Posted 16 Oct 2017 08:10 AM My Price 8.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)