Question: NOTE: Name the program files (dass names) as PROGRAM. X where X= Question Number: 1. Suppose you shop for rice in two different packages. The
NOTE: Name the program files (dass names) as PROGRAM. X where X= Question Number: 1. Suppose you shop for rice in two different packages. The package with a lower price/weight is said to have a better price. Write a program that prompts the user to enter the weight and price of each package and displays the one with the better price. Use double data type. Sample outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
