
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
thumb_up100%
COMPUTER PROGRAMMING AND APPLICATIONS
PROJECT REQUIREMENTS
pls write program C++ , you must fulfil the following requirements:
• Appropriate comments (write explanations for important statements)
• Appropriate indentations (to make your program readable)
• Appropriate variables’ declarations
• Input / Output (cin, cout)
• Calculation (involve at least three calculations)
• I/O Manipulators (e.g.: setw() or setfill() or setprecision() or etc.)
• Pre-defined Functions (e.g.: getline(), or gcount(), or ignore() or pow(x,y), or etc.)
• User-defined Functions (call by value or call by reference)
• Control Structure (e.g.: if-else, nested if)
• Loops (e.g.: for, while, do..while, nested loops)
• Array

Transcribed Image Text:no
hoom yur p
1One way mp
2Reund mp
tone way trip
COST-(Totalpassengertadd on
seat PriceTicket2
false-
true
COST=
(Totalpassenger+add on
seat) "Price Ticket
choose set
YES
1 SET A pauta naodes wth chichen rion
2ySET Brpasta noodes wth beef rice
NO
3JSET Cpasta noodies with sleam fish cake rice
Display Basic set
(mineral water and
pasta noodes)
set A
price-RM3250
Piease insert the discount code
trom the lant transaction for 5%
dicount
set B
price-RM50.00
1) proceed with the code
2)proceed without code
et
price-RM36.60
choose
5% discount hom
original icket price
Total cost
(COST SET TYPE)
Please choose the banking method
1.CIMB BANK
Total cost(COST SET
TYPĖYO.95
2.MAYBANK
3.HONG LEONG BANK
4.BANK ISLAM
5.BANK SIMPANAN NASIONAL
Dispiay the total cost, Class type
Destination, set food fight hype, date
and time of departure
Daplay Thank you for choosing
jour air lines, we are hoping to see
you again
END

Transcribed Image Text:a you t vatng
PRCE TICKET PER SEA
PRCE TICKET R SAT
PRICE TICKET
ROK THE DATE
DEPARTURE TAE
PICK THE DATE
1,,曲,雖
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 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.Similar questions
- C library functions are collection of function declarations saved in C header files. is a macro constant defined by the programmer. all functions defined in a program code by a programmer. programmer-defined functions shared among a team of software engineers.arrow_forwardPlease help me in c++ languagearrow_forwardBackground Information This assignment tests your understanding of and ability to apply the programming concepts we have covered in the unit so far, including the usage of variables, input and output, data types, selection, iteration, functions and data structures. Above all else, it tests your ability to design and then implement a solution to a problem using these concepts. Assignment Overview You are required to design and implement a "Word Game" program in which the user must identify a randomly selected "password" from a list of 8 words. The 8 words are selected at random from the list of 100 words in the starter file (word_game.py) provided to you with this assignment brief. Please use the starter file as the basis of your assignment code. The user has 4 attempts in which to guess the password. Whenever they guess incorrectly, they are told how many of the letters are the same between the word they guessed and the password. For example, if the password is "COMEDY" and…arrow_forward
- please answer do not image format and properly explanation.arrow_forwardC++ ( multiple question)arrow_forward/* Programming concept: structures Program should: be a C program, define a structure to store the year, month, day, and high temperature. write a function get_data that has a parameter that is a pointer to a struct and reads from the user into the struct pointed to by the parameter. write a function print_data that takes the struct pointer as a parameter and prints the data. in main, declare a struct, call the get_data function, call the print_data function. */ #include <stdio.h> int main(int argc, char *argv[]) { return 0;}arrow_forward
- Parameter passing vs using a global variable in a C program has its advantages and disadvantages.arrow_forwardProject Statement (C++ Language) Your Project Statement should clearly describe the following, 1. A general explanation of the problem, expected input, and output. 2. Part A - Explaining the data structures and functions required to approach the solution to the problem. 3. Part B - Explaining the algorithms that can be used to program the functions mentioned in Part A, and the techniques to improve the efficiency of these algorithms.arrow_forwardCreate a c++ program to automate the point of sale system in a stationery store The program should be a menu-driven program that allows users to-Add information about stationery.-Update information about stationery.-View the different stationery in the store-Select multiple stationery from the list and determine the quantity to purchase.-Calculate the total and display the amount needed.-View the transaction history.-Exit from the program.An array structure should be used to keep a record of all stationery. Identify and determine the appropriate members of this structure. Your program can start with a few stationery records to initialize this array. Each record must be tracked with a pointer. Remember to update the number of records each time a purchase is made. Use a function to execute each option provided in the menu (except the exit option). Information about each transaction performed needs to be saved in a file. Your program should also consider data validation.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

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