Given a user wants to see the most popular products in the system
When the user selects the corresponding option from the main menu
Then the user should see the following report
Product Orders Purchasers Revenue
*******************************************************
AA Batteries 100 20 $990.90
Diapers 50 10 $640.95
Case of Cracking... 40 30 $270.96
*******************************************************
Totals: 190 60 $1,902.81
-> Press any key to return to main menu
User will see the top 3 revenue generating products
The product column must be 20 characters wide, and will display a maximum of 18 characters for the product name.
Given a user wants to see the most popular products in the system When the user selects the corresponding option from the main menu Then the user should see the following report