Question d’entretien chez Rafay Systems

Now write code so that if the string was null it would output an error.