subject

5. A large Internet merchandise provider determines its shipping charges based on the number of items purchased. As the number increases, the shipping charges proportionally decrease. This is done to encourage more purchases. If a single item is purchased, the shipping charge is $2.99. When customers purchase between 2 and 5 items, they are charged the initial $2.99 for the first item and then $1.99 per item for the remaining items. For customers who purchase more than 5 items but less than 15, they are charged the initial $2.99 for the first item, $1.99 per item for items 2 through 5, and $1.49 per item for the remaining items. If they purchase 15 or more items, they are charged the initial $2.99 for the first item, $1.99 per item for items 2 through 5, and $1.49 per item for items 6 through 14, and then just $0.99 per item for the remaining items. Allow the user to enter the number of items purchased. Define appropriate constants, use the decimal data type, and display the shipping formatted charges.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
You know the right answer?
5. A large Internet merchandise provider determines its shipping charges based on the number of item...
Questions
question
Mathematics, 11.03.2021 01:00
question
Mathematics, 11.03.2021 01:00
question
English, 11.03.2021 01:00
question
Mathematics, 11.03.2021 01:00
question
Mathematics, 11.03.2021 01:00
question
Mathematics, 11.03.2021 01:00
question
History, 11.03.2021 01:00
question
Mathematics, 11.03.2021 01:00
question
Physics, 11.03.2021 01:00
Questions on the website: 13722367