Question: a lo You are writing a billing program that adds up the items a user enters. Your program should use prompt the user for the

 a lo You are writing a billing program that adds up

a lo You are writing a billing program that adds up the items a user enters. Your program should use prompt the user for the item number for each item in inventory to add to the bill. (You can ask number of items you will enter and use a counter controlled loop or a sentinel controlled loop th number. Either way is fine.) Here is the table of items in inventory op and the user for th u will enter an counter controlied oop ora sentinelnolleda stop Item Value 1 101.00 2 119.25 3 160.75 4 203.00 5 109.12 (So if your program starts asking the user for the items they are purchasing and they enter item 2 with quantity 2, and item 3 with quantity 1. The bill should be 399.25. On the next run if your program asks the user for items in the loop and they give enter each item with quantity of 1. The bill should be 693.12. [You must use an IF or IF/Else Structure to look up the item value for the item number they give or you are missing an objective on this assignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!