Computers and Technology

A shipping company uses the following function to calculate the cost (in dollars) of shipping based on the weight of the package (in pounds). 3.5, if 0 < w < = 1
c(w) = 5.5, if 1 < w < = 3
8.5, if 3 < w < = 10
10.5, if 10 < w < = 20
Write an Assemby program that prompts the user to enter the weight of the package and display the shipping cost. If the weight is greater than 20 pounds, display the following message, "the package cannot be shipped."

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 15:30, PlzNoToxicBan
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
image
Computers and Technology, 23.06.2019 23:00, Maya629277
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a. add symmetry b. create a unified publication c. provide consistency d. save money
Answers: 1
image
Computers and Technology, 25.06.2019 00:30, jayzelgaspar8005
You are to write a series of steps that anyone could follow to solve the following three problems: 1. even odd a. assume that someone tells you a number (an integer number) b. you hear the number and respond with the word even or odd 2. average a. assume that someone tells you between 3 and 5 numeric values. b. you hear the numbers and respond with the average is some number 3. dog or cat a. explain to a child the differences between a dog and a cat. b. your explanation could be used by a child or anyone to distinguish the difference between a dog and a cat
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, yungkxng57
Is a major factor in the widespread use of global information systems
Answers: 1
Do you know the correct answer?
A shipping company uses the following function to calculate the cost (in dollars) of shipping based...

Questions in other subjects:

Konu
Mathematics, 13.11.2020 19:10
Konu
Mathematics, 13.11.2020 19:10
Konu
Physics, 13.11.2020 19:10
Konu
Mathematics, 13.11.2020 19:10