plz help me solve it import java.util.Scanner; public class Vaccine…