Question: USE WHILE LOOP and If - else conditions for SHOPPING MALL Use scanner to input data: Enter item name Enter item quantity Enter item price
USE WHILE LOOP and If else conditions for SHOPPING MALL
Use scanner to input data:
Enter item name
Enter item quantity
Enter item price
Calculate item price and quantity
get total of item price and quantity
On exit from while loop display total of all prices bought and the average of total spending. Opened: Thursday, September : PM
Due: Thursday, September : PM
USE WHILE LOOP and If else conditions for SHOPPING MALL
Use scanner to input data:
Enter item name
Enter item quantity
Enter item price
Calculate item price and quantity
get total of item price and quantity
On exit from while loop display total of all prices bought and the average of total spending.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
