Question d’entretien chez Costello Medical

Do this assignment in R