The cars initially start at positions 24, 12, and 0. The stoplight is at position 50, is initially green, and switches every 10 seconds.
This program should simulate 100 seconds of operation. For each second, it should print out a line with the second number, the state of the stoplight and the positions of all three cars. The 'seconds' are simulated, and they can advance through a mechanism of your choosing (eg clicking a button, interval timer, keystroke, etc)
This project was awarded to
I have Apps developed on behalf of clients. I will 100% be using Daniel again for Android Apps. He was brilliant, super efficient and he finished the App in less than 24 hours!!! IT was an absolute please dealing with him. His work is of the highest quality. Thank you
Looking to make some money?
- Set your budget and the time frame
- Outline your proposal
- Get paid for your work
Bids on this Project
Miami, United States
GraphicsApp is led by a skilled programmer with a lot of experiences in the software development. Together, we will develop your dreams with a friendly and awesome application and a robust, simple and very flexible code. My passion are algorithms, interactive apps, computer graphics and games. Best Regards Team Lead Ruben
Woocommerce, Wordpress, PHP developer. Free bug fixing will be provided if reported within one month of delivery, minimal charges afterwords .
Gold Coast, Australia
I am a web developer / designer and programmer with several years of experience. I pride myself on my abilities and I always get the job done no matter what it takes. I have a passion for technology and writing clean code. I hold a professional manner and always strive to keep my clients and employers happy. I communicate on a regular basis and always respond in a timely manner.
Presidente Prudente, Brazil
General Computer Science researcher.