This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
A mail-Order house sells five different products whose retail price for each product are as follows: product 1, $2.98;product2, $4.50;product3,$9.98;product4,4.49;product5,$6.87. Write an application that reads a series of pairs of numbers as follows:a) product number b) quantity sold for one day. Your program should use a switch structure to help determine the retail price for each product. It should calculate and display the total retail value of all products sold last week. Use TextField to obtain the product number from the user. Use a sentinel-controlled loop to determine when the program should stop looping and display the final results.. HELP