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
-
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...
-
Tracy Company, a manufacturer of air conditioners, sold 100 units to Thomas Company on November 17, 2018. The units have a list price of $600 each, but Thomas was given a 30% trade discount. The...
-
In Exercise 4.30, suppose that we wish to have a 99.73 percent chance that all 50 specifications will be met. If each specification will have the same chance of being met, how large must we make the...
-
How do the arterioles react when you are running? When you are doing biceps curls? When you are sitting at your desk thinking and doing homework?
-
Various cost-behavior patterns Select the graph that matches the numbered manufacturing cost data (requirements 1??9). Indicate by letter which graph best fits the situation or item described. The...
-
A member tells you that she was recently hospitalized. She received a bill from a collection agency, even though she did not receive a bill from the hospital. She is worried this will affect her...
-
Jackie serves as the vice president for network development for a large, midwestern healthcare system. She has worked with many rural and semirural hospitals to improve efficiency by offering shared...
-
Define the method printVals() that takes two integer parameters and outputs all integers starting with the first and ending with the second parameter, each multiplied by 1000 and followed by a...
-
Oz Corp. is now in the final year of a project. The equipment originally cost $9,466, and the asset has been 78% depreciated. Oz can sell the used equipment today for $1,347, and its tax rate is 35%....
-
How does the presence of internal conflict contribute to the efficacy of a social movement, and how does this factor elucidate the lack of success observed in social movements predominantly organized...
-
The most recent financial statements for Megan Corporation follow. Sales for 2021 are projected to increase by 20 percent. Assets, costs, and current liabilities are proportional to sales. Long-term...
-
Canvas 31 33 $0.10 $0.10 Edit View Insert Format Tools Table $250,000 12pt Paragraph $110,000 Write a single SQL statement that would create the above table with the follow criteria. IssueNumber...
-
What is social stratification? How is social stratification analyzed by each of the different sociological perspectives: structural-functional, social conflict, and symbolic interaction?
-
Assess AccorHotels' business strategy. How effective do you think it is for competing against Airbnb? What else should AccorHotels do in order to enhance its competitiveness against digital...
-
Show that if A is any m n matrix, then Im A = A and AIn = A.
-
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...
-
The following data sets give the approximate lengths of Beethovens nine symphonies and Mahlers nine symphonies (in minutes). Beethoven: Mahler: 28 36 50 33 30 40 38 26 68 52 85 94 50 72 72 80 90 80
-
A recent study by the Kaiser Family Foundation looked at the role of media (for example, television, books, computers) in the lives of children. The report, which is on the Kaiser Family Foundation...
-
You manage a small ice cream shop in which your employees scoop the ice cream by hand. Each night, you total your sales and the total volume of ice cream sold. You find that on nights when an...
Study smarter with the SolutionInn App