A company is carrying out a survey by observing traffic at a road junction. Every time a car, bus or lorry passed by road junction it was noted down. 10 000 vehicles were counted during survey.
Write an algorithm, using an algorithm, that:
- inputs all 10000 responses
- Outputs number of cars, buses and Lorries that passed by the junction during survey
- Outputs number of vehicles which weren't cars, buses or Lorries during survey