Put the following information in a .txt then load it into a linked list of class TourLeg. A Tourleg object consists of a destination and a cost. Display the entire trip information AND the total cost.
Tulsa
129.50
Santa Fe
70.00
Phoenix
110.00
San Diego
88.50
Yakama
150.25
#total cost goes here
A factory sells Audio Visual Systems to department stores. An order consists of a linked list of systems, each system has its own linked list of components. Write menu driven software that allows the user to create an order.
Sample:
AV SYSTEMS INC
A. Add a basic system (also creates an order)
B. Add a component to a system
C. Display all
D. Quit
A
Enter system model
S1
A
Enter system model
S2
B
Add a component to what system?
S1
What component?
C1
C
Current Order
S1 has C1
S2 has no components
D
Goodbye