Question: This is problem 2PP from chapter 5, I followed the instructions outlined above but am still getting a few error codes. There is an eror








This is problem 2PP from chapter 5, I followed the instructions outlined above but am still getting a few error codes. There is an eror in line 25 (calculate) which I can not seem to get past. Also, in line 25 there is an eror for total, not sure why as I declared it above. Then there is the output issue (error in lines 33-37) and in error in line 36 for formatting the currency, which is strange because it is fine in the other lines. Please help, thank you.
Restaurant Bill A fast-food vendor sells pizza slices ($1.75), fries ($2.00), and soft drinks ($1.25). Write a program to compute a customer's bill. The program should request the quantity of each item ordered in a Sub procedure, calculate the total cost with a Function procedure, and use a Sub procedure to display an itemized bill. A sample output is shown in Fig. 5.39 Restaurant Bill 1- How many pizza slices?3 Compute Total Cost How many fries?4 How many soft drinks? 5 ITEM pizza alices Eries oft drinks TOTAL QUANTITY PRICE $5.25 8.00 $6.25 $19.50 FIGURE 5.39 Possible outcome of Programming Project 2. Step-by-step solution Step 1 of 8 A program demonstrates that, quality of each item in a customer's bill, by calling the Sub procedures Create a new windows application project. In the Designer window, place textbox, label, group box, list box and button by using the related controls. Change the name of the textbox controls label controls and button then set the properties if required Comment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
