Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
You are writing a billing program that adds up the items a user enters. Your programs prompt the user for the item number for number
You are writing a billing program that adds up the items a user enters. Your programs prompt the user for the item number for number of items you will enter and use a counter controlled loop or a sentinel controlled loop that has a stop number. Either way is fine.) Here is the table of items in inventory hould use a loop and each item in inventory to add to the bill. (You can ask the user for the 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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started