Parked car Simulation in C++

Completado Publicado Mar 30, 2014 Pagado a la entrega
Completado Pagado a la entrega

C++ language:

Write a simulation program that simulates cars entering a parking lot, paying for parking, and leaving the parking lot. The officer will randomly appear to survey the cars in the lot to ensure that no cars are parked beyond their time limit. If a car is found to be in violation, then the car is towed away (removed from the parking lot). The simulation should have the following parameters:

A lot with 20 spaces

Cars can pay for parking in 15 minute increments: 15, 30, 45, and 60 minutes.

Cars can be parked at a max of 1 hour. Therefore a car could pay for 30 minutes of parking, and park for 45 minutes. Any car parked for more than an hour is automatically in violation and is towed away.

Cars can park for 5 - 70 minutes (using 5 minute increments)

Cars that are towed are just removed from the lot

The police officer should patrol at least once every 10 minutes on average.

If the lot is full, cars are removed from the simulation.

The program should only ask the user for the amount of time (in minutes) to run the simulation. The simulation should run to the end and output the following data:

Number of cars that were found in violation

Number of cars that parked

Number of cars that were turned away because the lot was full

The average # of full spaces

PHP Arquitectura de software

Nº del proyecto: #5739895

Sobre el proyecto

5 propuestas Proyecto remoto Activo Mar 30, 2014

Adjudicado a:

it2051229

Hi again, I would like to do this project as well if you'd give me the opportunity. Let me know if you are interested. Thanks.

$30 USD en 1 día
(94 comentarios)
5.6

5 freelancers están ofertando un promedio de $92 por este trabajo

samitXI

Hi Sir, I am ready to work for you.I have 9 years of experience in C/C++ , java, PHP and, MySQL. please see some of my works also check my reviews you will get better idea about my skill.I deliver quality work within Más

$150 USD en 3 días
(93 comentarios)
7.1
johnykenny1990

Hey , I am a software engineer and can start the work right away . Please open the chat box so we can discuss and finanlise the project. Thanks

$30 USD en 1 día
(0 comentarios)
0.0
michalready

It's fairly simple for me. I done many such simulations just for fun at school. I am also fairly good at physics (filling 100 characters limit) where simulations such as thi were usful for me and I done some for thos Más

$25 USD en 1 día
(0 comentarios)
0.0
LittleInfinity

Hello! my name is Daniel and i would like to offer myself and my skills for your project what your description it sounds like a school assignment :) nothing to hard but it is going to take some time to complete in a Más

$35 USD en 3 días
(0 comentarios)
0.0
SebastianUncode

Cross platform C++ with Qt Framework. Hardware accelerated canvas drawing and highly object oriented code style.

$222 USD en 5 días
(0 comentarios)
0.0