Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help asap Welcome to the Pie in the Sky bakers. The customer wants to buy some combination of bakery items like any single item,

Need help asap

image text in transcribed
Welcome to the "Pie in the Sky" bakers. The customer wants to buy some combination of bakery items like any single item, or two items for example; cake and biscuits. Write a program that displays the following menu for the bakery items available to take order from the customer using IF and Switch case statements. C = Cake (Rs. 500) B= Biscuits (RS. 200) The program first asks to enter the no of categories of bakery items i.e. 1 or 2, then it asks to enter the choice i.e. 'C' for Cake, 'B' for Biscuits and then for quantity. If the customer asks for other than menu items, it shows a message of the unavailability of items on bakers. The program should finally display the total charges for the order. Example input/output data is given: PIE IN THE SKY BAKERS WELCOME PLEASE SELECT FROM THE FOLLOWING MENU - CAKE B - BISCUITS HOW MANY TYPES OF BAKERY ITEMS YOU NEED TO ORDER = 2 Enter first iten you want to order = B enter quantity = Enter second iten you want to order = C enter quantity = 2 you have ordered 31 Cakes Biscuits - 1000 - 600 TOTAL = 1600 Thank u have a nice day

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions