Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Qbasic language calculate the total cost with a function, and use a subprogram to display the items billed This is what I have so
In Qbasic language calculate the total cost with a function, and use a subprogram to display the items billed
This is what I have so far
Sow Programming Assignment 3 A fast-food vendor sells pizza slices (Si 75L fries ($1.00), and soft drinks (6.75). Write a program to compute a customer's bill. The program should request the quantity of each item ardered in a subprogram, salculate the total cost with a function, and use a subprogram to display an itemized bill. A sample output is shown below. How many pizza slices? How many fries 4 How many soft drinks? Item Quantity Price 3 Pizza slices Fries Soft Drinks $ 3.75 $ 4,00 $ 3.75 5 Total S11.50 1 Search Humptions Frogs igent3.ba fast food vendor sells plaza slices $1.25), fries ($1.00) and softdrinks($.75) rite a program to conte a customers bill. z a of INPUT 'how many pizza slices": slices S UNTUT how many tries": tries 6 INPUT "How many softdrinks": softdrinks 2 TRINT B PRINT 10 PRINT "Iten": TAB(20): "Quantity": TAB(40): "Price
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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