Answer:
Explanation:
Gas Filling Station has pumps. Pumps have credit card readers. Driver can able to swipe their cards, pumps have Fuel. Pumps card readers communicate with Credit Company. Driver interacts with pump for fuel and credit card.
In this situation the following we need to treat as objects.
They are Pump, Card reader, Fuel tank, communication system, system controller and price table.
Design pattern for the following system is attached below
One column of a table in relational database is called an attribute(property).
Answer:
The output of the code is following:-
My first C++ program.
The sum of 2 and 3 = 5
7 + 8 = 15
Explanation:
First the program should have #include<iostream>.This is missing in the program.
In the program you have printed My first C++ program first then used newline character endl. After that you have printed The sum of 2 and 3 = 5 this will be printed in the new line.Then you have used endl.Then printed "7 + 8 = " string and the sum 7+8 that is 15.
Hence the output is like this.