Question: ( C ) Program QUESTION 1 Write a program that can request the size of pizza, quantity from the user and calculate the total price.
QUESTION 1 Write a program that can request the size of pizza, quantity from the user and calculate the total price. The pizza price is set as in Table 1.0. Compile and save as ML Your Name Copy paste the successfully compiled code in the space provided Table 1.0 Size(inch) Type Price(SR) Display 8-10 Small 15,00 Show type, size and total price 11-12 Regular 24.00 Show type, size and total price 15 Large 30.00 Show type, size and total price 18 Extra Large 52.00 Show type, size and total price Others 0 "Pizza not exist" Sample outpat Enter pizza aze, and quantity: 2 Type Quantity Frice Sall 2 30.00 Progras ended with exit code: 0 Kirtir fiz size, and quantity: 1 Quantity Prido $2.00 Extra- Program onded with exit oder o
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
