Reference no: EM13940604
The Curl Up and Dye Salon offers a variety of salon services for its customers. Jane Fields, the owner, has contracted to have you write a program that allows reports to be output, sorted by each type of service offered. Table below shows the various services, service prices, and service times.
Service Price($) Time(Minutes)
Cut 8.00 15
Shampoo 4.00 10
Manicure 18.00 30
Style 48.00 55
Permanent 18.00 35
Trim 6.00 5
Create a class for services offered by a hair-styling salon. Data fields include a String to hold the service description (for example, "Cut," Shampoo", or "Manicure"), a double to hold the price, and an integer to hold the average number of minutes it takes to perform the service. The class name is Service. Include a constructor that requires arguments for all three data fields and three get methods that return each one of the data field's values.
Write an application named SalonReport that contains an array to hold six Service Objects and fill it with data from the table above. Include methods to sort the array in ascending order by price of service, time it takes to perform the service, and in alphabetical order by service description.
Prompt the user for the preferred sorting method, and offer three choices: sort by description, price or time. Depending on the user's input, display the results.
Determine a suitable diameter for the rivets
: Figure shows a riveted lap joint. Determine a suitable diameter for the rivets if the ultimate shear strength of the rivet material is 325 MPa and a factor of safety of 6 is to apply.
|
Fully controllable, partially controllable
: Which of the following costs are likely to be fully controllable, partially controllable, or not controllable by the chief of the production department?
|
Supply chain management in luxury fashion companies
: 1. What is the role of operations and supply chain management in luxury fashion companies? 2. Do the consolidated supply chain strategies apply to the Italian luxury industry?
|
Factual scenario for three business crimes
: Create and briefly describe a hypothetical factual scenario for any three business crimes (other than computer crimes).
|
Create a class for services offered by a hair-styling salon.
: The Curl Up and Dye Salon offers a variety of salon services for its customers. Jane Fields, the owner, has contracted to have you write a program that allows reports to be output, sorted by each type of service offered. Table below shows the vari..
|
Should federal government control over state law enforcement
: Is federalism the answer, or should the federal government have control over the state law enforcement operations? Consider the Arizona lawsuit against the federal government regarding the law enforcement activities surrounding people in this coun..
|
Considering production for a special order
: The Ellis Machine Tool Company is considering production for a special order for 10,000pieces at $0.65 apiece, which is below the regular price. The current operating level, which is below full capacity of 70,000 pieces, shows the operating result..
|
Prepare an income statement for the year
: Prepare journal entries for the transactions above. Use good form for the journal entries. Prepare a trial balance at December 31 based on the journal entries above. Prepare an income statement for the year
|
Derive the class extendedroman from the class roman
: For part 'a' the source code for class Roman is attached to this assignment. You do not have to include the method decimalToRoman as you modify this class. Also, class Roman is not used in your test program.
|