i have an example output but i am stuck right now and i dont know how to get certain things to add up in a loop to gets sums in a summary this is the sample output and what i have so far is below the sample.
Enter the product number of the item sold: 1250
Enter the number of items sold: 3
Enter the price for one of the items: 19.99
Enter the product number of the item sold: 2820
Enter the number of items sold: 5
Enter the price for one of the items: 12.50
Enter the product number of the item sold: 3124
Enter the number of items sold: 7
Enter the price for one of the items: 20.30
Enter the product number of the item sold: 987
Enter the number of items sold: 2
Enter the price for one of the items: 10.11
Enter the product number of the item sold: 123
Enter the number of items sold: 36
Enter the price for one of the items: 1.50
Enter the product number of the item sold: 4567
Enter the number of items sold: 9
Enter the price for one of the items: 4.56
Enter the product number of the item sold: 1433
Enter the number of items sold: 20
Enter the price for one of the items: 4.50
Enter the product number of the item sold: 3748
Enter the number of items sold: 1
Enter the price for one of the items: 1.99
Enter the product number of the item sold: 3967
Enter the number of items sold: 5
Enter the price for one of the items: 7.10
Enter the product number of the item sold: 1130
Enter the number of items sold: 30
Enter the price for one of the items: 19.77
Enter the product number of the item sold: 303
Enter the number of items sold: 7
Enter the price for one of the items: 2.00
Enter the product number of the item sold: 530
Enter the number of items sold: 65
Enter the price for one of the items: 0.80
Enter the product number of the item sold: 916
Enter the number of items sold: 130
Enter the price for one of the items: 1.23
Enter the product number of the item sold: 1111
Enter the number of items sold: 75
Enter the price for one of the items: 1.72
Enter the product number of the item sold: 2222
Enter the number of items sold: 7
Enter the price for one of the items: 9.46
Enter the product number of the item sold: 3333
Enter the number of items sold: 4
Enter the price for one of the items: 24.00
Enter the product number of the item sold: 999
Enter the number of items sold: 31
Enter the price for one of the items: 0.90
Enter the product number of the item sold: 7531
Enter the number of items sold: 17
Enter the price for one of the items: 4.10
const int GIZMO_LOWER = 0;
const int GIZMO_UPPER = 999;
const int WIDGETS_LOWER = 1000;
const int WIDGETS_UPPER = 1999;
const int DOOHICKEYS_LOWER = 2000;
const int DOOHICKEYS_UPPER = 2999;
const int THINGAMAJIGS_LOWER = 3000;
const int THINGAMAJIGS_UPPER = 3999;