Ok, hi guys.... I have some IT homework due tomorrow and I honestly don't know what to do. I've made multiple attempts and it's just not working out for me. So I'm asking for help ASAP PLEASE. The questions states:
Write a program to read in the names of a sequence of products and their price. The program terminates when a "0" price for a product is encountered. The program should print the number of items purchased and a grand total. The data will be entered in the following format: Product, Price, Product, Price, Product, Price.
Please guys it goes towards my semester grade :)