Standard comments need to be included in your file. Please include your NAME and STUDENT...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
• Standard comments need to be included in your file. • Please include your NAME and STUDENT ID in a comment in the HTML file itself. • Bouquet names and prices need to initialized in an array. • You need to make use of global variables for Bouquet List and Prices. • If there are errors in your code that prevent it from running, you will automatically receive a 0 for the task-you MUST fix all your own errors. • Keep it simple-do not do more than what was asked • Once the due date and time has passed -the submission is considered late a mark of zero (0) will be assigned. Owner of the flower store called Blossom wants a custom program that can do the following: 1) He has 5 employees; Program 1 should take the input of number of hours for each employee up to 5 and save it in an array. Give the total pay for each employee as a result. If employee worked more than 10 hours, then each extra hr. over 10, employee gets paid 1.5 times. a. Hourly pay: 18$ Example: If person A work 12 hours then their total pay will be 10X 18 = 180 2 X 18 X1.5 = 54 Total Pay = 234. 2) Store sells 3 kinds of bouquets priced below: a. Make a wish - 32.99 b. Hand-Tied-52.75 c. Cascade - 37.50 Task 2 should take user input for a, b or c and calculate the total billing amount. Total billing=price + 18% tax. If user entered anything other than a b or c program should ask the user to enter correct choice again. Result to show bouquet name and total price. 3) Price Finder: Task 3 Will take user input to search for the bouquet. Once you enter a, b or c (see above) the program to return the price. If user entered anything other than a b or c program should ask the user to enter correct choice again. 4) Add new bouquets, Task 4 will let user add a new bouquet and its price to the list. a. If owner enters the same name that already exists program should say that to the user and ask for a new entry. • Standard comments need to be included in your file. • Please include your NAME and STUDENT ID in a comment in the HTML file itself. • Bouquet names and prices need to initialized in an array. • You need to make use of global variables for Bouquet List and Prices. • If there are errors in your code that prevent it from running, you will automatically receive a 0 for the task-you MUST fix all your own errors. • Keep it simple-do not do more than what was asked • Once the due date and time has passed -the submission is considered late a mark of zero (0) will be assigned. Owner of the flower store called Blossom wants a custom program that can do the following: 1) He has 5 employees; Program 1 should take the input of number of hours for each employee up to 5 and save it in an array. Give the total pay for each employee as a result. If employee worked more than 10 hours, then each extra hr. over 10, employee gets paid 1.5 times. a. Hourly pay: 18$ Example: If person A work 12 hours then their total pay will be 10X 18 = 180 2 X 18 X1.5 = 54 Total Pay = 234. 2) Store sells 3 kinds of bouquets priced below: a. Make a wish - 32.99 b. Hand-Tied-52.75 c. Cascade - 37.50 Task 2 should take user input for a, b or c and calculate the total billing amount. Total billing=price + 18% tax. If user entered anything other than a b or c program should ask the user to enter correct choice again. Result to show bouquet name and total price. 3) Price Finder: Task 3 Will take user input to search for the bouquet. Once you enter a, b or c (see above) the program to return the price. If user entered anything other than a b or c program should ask the user to enter correct choice again. 4) Add new bouquets, Task 4 will let user add a new bouquet and its price to the list. a. If owner enters the same name that already exists program should say that to the user and ask for a new entry.
Expert Answer:
Answer rating: 100% (QA)
Task 1 Employee Pay Calculator Write a program that takes the number of hours worked by each of 5 em... View the full answer
Related Book For
Cost management a strategic approach
ISBN: 978-0073526942
5th edition
Authors: Edward J. Blocher, David E. Stout, Gary Cokins
Posted Date:
Students also viewed these programming questions
-
Subject Business Ethics (There are a total 2 case situations, I will be posting both of them separately) Case Situation: 1 Lorna is an administrative assistant in the Human Resources Department. Her...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Examine the difficulty of adding a proposed lwi.drd, rsl, rs2 (Load With Increment) instruction to MIPS. Interpretation: Reg[rd] = Mem[Reg[rs1] + Reg[rs2]] 1. Which new functional blocks (if any) do...
-
All of the subspaces that we've seen in some way use zero in their description. For example, the subspace in Example 2.3 consists of all the vectors from R2 with a second component of zero. In...
-
Jack Lajoha is a resident of Spain, but has a rental property in Canada. The gross rents are $1,500 monthly, and are collected by Jacks agent, Tom Kelly. From the rental income, Tom pays his rental...
-
In June 2014, Biltmore Construction Company (BCC) was hired by the City of Phoenix, Arizona, to assist in constructing its new Trade Center complex. The construction agreement called for work to...
-
During 2011, Litten Company purchased trading securities as a short-term investment. The costs of the securities and their fair values on December 31, 2011, follow: At the beginning of 2011, Litten...
-
Based on the above data, calculate the estimated cost of the merchandise inventory on October 31 using the retail method. (round to one decimal place) October 1 October 1-31 October 1-31 Merchandise...
-
Barnett Industries, Inc., issued $600,000 of 8% bonds on January 1, 2019. The bonds pay interest semiannually on July 1 and January 1. The maturity date on these bonds is December 31, 2028. The firm...
-
As practice manager, you are asked by the owner physicians to prepare a preliminary budget for adding a school sports physical exam to the practice using the following assumptions: Time frame: one...
-
How does the Mission System SEA differ from the Enabling System SEA?
-
Demonstrate use of the analytic hierarchy process (AHP) tool to select project suppliers.
-
What are the strategies that can be deployed to integrate project supply chains?
-
What is system interoperability?
-
From your experience or observation, identify the procurement problems unique to your organization and how you would go about resolving them from a supply chain perspective.
-
Identify one (1) way that you can use a financial calculator to help with decision-making on a personal level AND one (1) way that you can use a financial calculator to help with decision-making on a...
-
A bar of length = 1 has one fixed and one free end and stiffness function c(x) = 1 - x. Find the displacement when subjected to a unit force. Pay careful attention to the boundary condition at the...
-
What is the relationship between the variable overhead efficiency variance and the direct labor efficiency variance for a company that uses direct labor hours to apply factory overhead?
-
A total productivity measure encompasses all partial productivity measures. Do you agree?
-
Refer to your answer to 15-23 and 15-24 and the journal entries made in conjunction with 15-25. Given this information, provide the appropriate journal entries: (a) To record the overhead variances...
-
Purple Company, whose current assets at December 31 are shown in Exercise E13-6B, had net sales for the year of \(\$ 580,000\) and cost of goods sold of \(\$ 339,000\). At the beginning of the year,...
-
Ratios Analyzing Long-Term Firm Solvency The following information is available for Rae Company: Calculate the following: a. 2019 debt-to-equity ratio b. 2019 times-interest-earned ratio c. 2019...
-
Jason Corporation has only common stock outstanding. The firm reported earnings per share of \(\$ 4.00\) for the year. During the year, Jason paid dividends of \(\$ 0.85\) per share. At year end, the...
Study smarter with the SolutionInn App