In addition, you need to be able to illustrate line by line your algorithm using the example, answer the questions not only WHAT this line of code does, but WHY. You need to demonstrate not only understanding the algorithm but also realize what happens if we change some line of the code. Task Your task is to design a booking flight system. You should be able to add information about the flight (flight number, date, time, cost of the ticket, destination, type of the plane). Your program should save all the information in a useful data structure, and be able to output information about flight with a specified destination in first order by date, in second order by cost. The input data: 5 10, 10/05/19, 11:59, 103, Moscow, Boeing 707 7, 10/05/19, 22:05, 77, Moscow, Airbus 23 10, 7/04/19, 11:59, 55 Moscow, Boeing 109 65, 12/05/19, 13:00, 66, Novosibirsk, Airbus 23 8, 10/05/19, 10:30, 66, Moscow, Boeing 104 Moscow The output: 10, 7/04/19, 11:59, 55 Moscow, Boeing 109 8, 10/05/19, 10:30, 66, Moscow, Boeing 104 7, 10/05/19, 22:05, 77, Moscow, Airbus 23 10, 10/05/19, 11:59, 103, Moscow, Boeing 707 The format of input and output data can be a little bit changed for convince. Your solution should contain manually written functions, structures, classes and correct usage of all language structures we've learned: - methods/functions lists - structures Your code should be designed correctly and we suggest you follow the code style of c++. Also, prepare 3 tests proving that your algorithm works correctly.
In addition, you need to be able to illustrate line by line your algorithm using the example, answer the questions not only WHAT this line of code does, but WHY. You need to demonstrate not only understanding the algorithm but also realize what happens if we change some line of the code. Task Your task is to design a booking flight system. You should be able to add information about the flight (flight number, date, time, cost of the ticket, destination, type of the plane). Your program should save all the information in a useful data structure, and be able to output information about flight with a specified destination in first order by date, in second order by cost. The input data: 5 10, 10/05/19, 11:59, 103, Moscow, Boeing 707 7, 10/05/19, 22:05, 77, Moscow, Airbus 23 10, 7/04/19, 11:59, 55 Moscow, Boeing 109 65, 12/05/19, 13:00, 66, Novosibirsk, Airbus 23 8, 10/05/19, 10:30, 66, Moscow, Boeing 104 Moscow The output: 10, 7/04/19, 11:59, 55 Moscow, Boeing 109 8, 10/05/19, 10:30, 66, Moscow, Boeing 104 7, 10/05/19, 22:05, 77, Moscow, Airbus 23 10, 10/05/19, 11:59, 103, Moscow, Boeing 707 The format of input and output data can be a little bit changed for convince. Your solution should contain manually written functions, structures, classes and correct usage of all language structures we've learned: - methods/functions lists - structures Your code should be designed correctly and we suggest you follow the code style of c++. Also, prepare 3 tests proving that your algorithm works correctly.
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
using C++ don't use other than this. and follow the conditions written in the paper please if you can't leave it to who know . this is the third time i upload it please read carefully
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 4 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