Question: Write a Java program that reads an unlimited number of items and their prices until the user enters Exit, after that the program should
Write a Java program that reads an unlimited number of items and their prices until the user enters "Exit", after that the program should print out the total bill. Sample run: Enter item: pen 5 Enter item: book 26 Enter item: Exit Total bill:
Step by Step Solution
3.50 Rating (157 Votes )
There are 3 Steps involved in it
heres a simple Java program that accomplishes what youre looking for java import javautilScanner pub... View full answer
Get step-by-step solutions from verified subject matter experts
