Write a procedure that will change the direction of the green light at an intersection.
Write a procedure that takes an intersection as its argument. For the two traffic
queues facing a green light, remove a random number of from one to four vehicles
from the queues. For the two traffic queues facing a red light, insert a random
number from one to three vehicles into the queues.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here