Home > other >  Each great god help!!
Each great god help!!

Time:10-04

Vending machines designed a simulation theaters to vote page, can choose the film name, The Times, can choose seats and print the ticket information, and other functions, need the right design feature selection page (text) interface, can correctly simulate the cinema ticket machine for viewing options,

According to the functional requirements, define a ticket machine class to encapsulate the movie name, seat, attended the information such as (P1), and define several member function respectively: choose movie, choose movie session, choose a seat, print the ticket, and other functions (P2), at the same time create the corresponding constructor to create an instance when the (P3), by creating a ticket machine object, and through the access to the object's properties and methods to complete the votes (P4) operation, and can carry on the correct and detailed comments to the code, very easy to read (M1), access to relevant information, network resources, expand analog cinema ticket machine function, can realize the function of written in Python vending machines more powerful simulation cinema to vote (D1),
  • Related