Create: a) trace table for the below scenario. b)flowchart for the below scenario. c)UML diagram for the below scenario.   A gas station attendant in the 1950's performs a series of actions for every customer that comes in. The list is as follows. greet customer ask for required type of gas and amount ask whether customer needs other services ask for required amount of money give money to cashier wait for change and receipt give change and receipt to customer say thank you and goodbye. He does not follow these actions when he is not on shift or when there is no customer to serve. There should also be instructions for when to stop performing an action. Think about how this might be created in a computer program.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter11: Introduction To Classes
Section11.5: A Closer Look: Uml Class And Object Diagrams
Problem 8E
icon
Related questions
Question

Create:

a) trace table for the below scenario.

b)flowchart for the below scenario.

c)UML diagram for the below scenario.

 

A gas station attendant in the 1950's performs a series of actions for every customer that comes in. The list is as follows.

greet customer
ask for required type of gas and amount
ask whether customer needs other services
ask for required amount of money
give money to cashier
wait for change and receipt
give change and receipt to customer
say thank you and goodbye.

He does not follow these actions when he is not on shift or when there is no customer to serve. There should also be instructions for when to stop performing an action. Think about how this might be created in a computer program.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Intelligent Machines
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr