Professional Documents
Culture Documents
Solid Principles
Solid Principles
Solid Principles
1. If the vehicle is a car and the last time its owner paid the tax was 30 days
ago then the owner has to pay again.
2. If the vehicle is a motorbike and the last time its owner paid the tax was 60
days ago then the owner has to pay again.
In other words, if you have a car you have to pay every 30 days or if you have a
motorbike you have to pay every 60 days.
For each vehicle in the system, the application should test those rules and print
those vehicles (plate number and owner information) that don't satisfy them.