package ru.job4j.condition;

public class TruckerJob {
    public static void main (String[] args){
        Driver steve = new Driver();
        System.out.println("Steve wants the trucker job.");
        if (!steve.hasLicense()){
            System.out.println("Steve need to get a license!");
            steve.passExamOn('C');
        }
        if (steve.canDrive('A')) {
            System.out.println("Steve works on truckers!");
        }else if (steve.canDrive('B')) {
            System.out.println("Steve works in taxi");
        }else{
            System.out.println("Steve doesn't have a job, but ride on motobike!");
        }
    }
}