Problem about queue...

Please write the program “Car counting”. The program should create of queue of cars with a different colors. It means cars that arrived to crossroad. Then the program should output the colors to the console and count how many colors was in the car’s queue. Class Car with a to parameters Car License and color.

success (1)


No. Failure.
Topic archived. No new replies allowed.