Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
When a guest arrives, the valet will take or note the following details and enter them into the program:
• Name
• Licence Plate
The program will then assign a parking space for the car and record it as taken by that person/car.
When a guest is ready to leave, the valet will take either their name or licence plate number and the program will search using those details and tell the valet which parking space the car is in.
Once the car has been returned to the guest, the valet can again search for the car by name, licence plate or parking space number and tell the program that the car has been returned and the parking space is now free.
The program should be a console application, with a menu offering options for:
• Handling guest arrival
• Finding a parked car
• Car returned to user
• List all cars parked
• Exit program

Sorry Im just a beginner at programming c#.
Posted
Updated 2-Nov-14 3:30am
v2
Comments
BillWoodruff 2-Nov-14 10:08am    
Well, this is a wonderful challenge for you to get started in C# with. You'll need a good introductory book. There's a free one on-line from Charles Petzold titled ".NET Zero" you can download:

http://www.charlespetzold.com/dotnet/

And, you can also download the source code for the examples in the book.

After going over the basics, get started writing your first Console app, and figure out how to get user input, and record it.

As you are writing and debugging code, do come back with your specific questions.

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

If you get stuck on a particular part then tell us what you tried and where your are stuck - but we aren't going to do it for you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900