praveen1981
asked on
Class diagram
Hi
I have the problem as below ,
Problem 2: Bus ticketing solution
========================== ====
This application issues tickets to passengers in the bus. Time of conductor is very important. He needs to issue tickets in as less time as possible which means reducing inputs required for issuing tickets.
Requirements:
• Conductor inputs all the stops in the route before beginning of the journey. Input has the stop name and distance in KM from the start point.
• Ticket price is calculated based on the distance.
• If distance is less than 2KM then minimum of Rs. 10 is charged. If distance is more than two KM then Rs. 5 per KM is charged. Fare is rounded to whole number.
• Conductor should be able to mark the stop which is crossed.
• This is to enable the conductor to input only destination and quantity to issue a ticket. Ticket will be from the stop which is marked as crossed.
• Conductor should be able to cancel a ticket.
• Conductor should be able to print the collection during the trip.
Q) how to identify the Required classes , methods and properties for the above problem
please suggest and provide me the class diagrams fro the above problem.
I have the problem as below ,
Problem 2: Bus ticketing solution
==========================
This application issues tickets to passengers in the bus. Time of conductor is very important. He needs to issue tickets in as less time as possible which means reducing inputs required for issuing tickets.
Requirements:
• Conductor inputs all the stops in the route before beginning of the journey. Input has the stop name and distance in KM from the start point.
• Ticket price is calculated based on the distance.
• If distance is less than 2KM then minimum of Rs. 10 is charged. If distance is more than two KM then Rs. 5 per KM is charged. Fare is rounded to whole number.
• Conductor should be able to mark the stop which is crossed.
• This is to enable the conductor to input only destination and quantity to issue a ticket. Ticket will be from the stop which is marked as crossed.
• Conductor should be able to cancel a ticket.
• Conductor should be able to print the collection during the trip.
Q) how to identify the Required classes , methods and properties for the above problem
please suggest and provide me the class diagrams fro the above problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Architecute of my team guide me in solving this problem
This looks like some sort of class assignment. It's against the rules for us to help with class work.
Why don'y you attempt a solution and then we can help based on what you've done.
Cheers,
Darren