Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Standard comments need to be included in your file. Please include your NAME and STUDENT ID in a comment in the HTML file itself.

 

image

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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Task 1 Employee Pay Calculator Write a program that takes the number of hours worked by each of 5 em... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Cost management a strategic approach

Authors: Edward J. Blocher, David E. Stout, Gary Cokins

5th edition

73526940, 978-0073526942

More Books

Students also viewed these Programming questions

Question

Show that if A is any m n matrix, then Im A = A and AIn = A.

Answered: 1 week ago