Sunday, April 10, 2011

Our program's flow chart and Unified Modeling Language (UML) Diagrams

After testing our program and make sure it is feasible, we decided to show out it's flow chart and UML Diagrams.
 
                         UML Diagrams
bus
- depart_place[6] : static string
- depart_time[14] : static string
- desti_place[6] : static string
- price[6][6] : static double
- platform[6][6] : static string
- seat[6][6][14] : int
- info[6] : static string
+ setSeat(i : int, j : int, k : int) : void
+ incrementSeat(i : int, j : int, k : int) : void
+ getDPplace(i : int) : string
+ getDPtime(i : int) : string
+ getDTplace(i : int) : string
+ getPrice(i : int, j : int) : double
+ getPlatform(i : int, j : int) : string
+ getSeat(i : int, j : int, k : int) : int
+ getInfo(i : int) : string
+ infile(bus&) : friend void
+ outfile(bus) : friend void

No comments:

Post a Comment