subject

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

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
You know the right answer?
A fruit company sells oranges for 32 cents a pound. They charge $7.50 for shipping on any order. But...
Questions
question
History, 27.04.2021 19:10
question
Mathematics, 27.04.2021 19:10
question
Chemistry, 27.04.2021 19:10