Softsensor AI interview question

Pascal pattern was asked in programming.