subject

Write a program that can compare the unit (per lb) cost of sugar sold in packages with different weights and prices. the program prompts the user to enter the weight and price of package 1, then does the same for package 2, and displays the results to indicate sugar in which package has a better price. it is assumed that the weight of all packages is measured in lb. the program should check to be sure that both the inputs of weight and price are both positive values.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
Write a program that can compare the unit (per lb) cost of sugar sold in packages with different wei...
Questions
question
Mathematics, 19.05.2020 21:04
question
Mathematics, 19.05.2020 21:04
question
Biology, 19.05.2020 21:04
question
Mathematics, 19.05.2020 21:04
Questions on the website: 13722362