Computers and Technology

A fruit company sells oranges for 32 cents a pound. They charge $7.50 for shipping on any order. But, if the order is above 50 pounds, they only charge $5 for shipping. Even better, if the order is over 100 pounds, the shipping chage is only $3. Write a function costOrder that takes the number of pounds of oranges that is being purchased and returns the cost of the order. Example: a 60 pound order would be $24.20

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, richellemjordan
Draw the hierarchy chart and design the logic for a program that calculates service charges for hazel's housecleaning service. the program contains housekeeping, detail loop, and end-of-job modules. the main program declares any needed global variables and constants and calls the other modules. the housekeeping module displays a prompt for and accepts a customer's last name. while the user does not enter for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. the service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. the detail loop also displays the service charge and then prompts the user for the next customer's name. the end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.
Answers: 2
image
Computers and Technology, 24.06.2019 13:30, iicekingmann
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
image
Computers and Technology, 25.06.2019 02:00, whocares1819
Lisa is making a presentation for her project and she wants to use the logo of her company in her presentation. which element would she use to make her logo stand out in her presentation? a. gradation b. contrast c. alignment d. balance
Answers: 1
image
Computers and Technology, 25.06.2019 11:30, domiyisthom
The main benefit of encryption of a hard drive
Answers: 1
Do you know the correct answer?
A fruit company sells oranges for 32 cents a pound. They charge $7.50 for shipping on any order. But...

Questions in other subjects: