Develop a C++ program showing the total bill to be paid (including 15% tax). The program should work such that if the user selects the destination, the price should be displayed.
Develop a C++ program showing the total bill to be paid (including 15% tax). The program should work such that if the user selects the destination, the price should be displayed.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Question 2:
When the customer reaches the ticket booth, he/ she see the menu on the screen. In this menu there are four sections.
1.Lahore
2.Karachi
3.Peshawar
4.Quetta.
The programmer usually travels from Rawalpindi railway station to rest of the cities. For traveling to the following cities software engineer can select any one of the categories:
1.Rawalpindi to Lahore
a.Executive Class
b.Lower A/C
c.Economy
2.Rawalpindi to Karachi
a.Executive Class
b.Lower A/C
c.Economy
d.First Class Sleeper
e. Economy Sleeper
3.Rawalpindi to Quetta
a.First Class Sleeper
b.Economy Sleeper
4.Rawalpindi to Peshawar
a. Executive Class
b.Lower A/C
c.Economy
User can choose any of the above mentioned choices to go to different cities. From these choices further he can choose what sort of bogie he wants. Each bogie hasits own respective price. Once passenger has chosen the bogie. This price also has 15% of tax which has to be included. Define the price for different bogies and destination by yourself.
Develop a C++ programshowing the total bill to be paid (including 15% tax). The program should work such that if the user selects the destination, the price should be displayed
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education