Pregunta de entrevista de Digit Insurance

write a simple program to convert a given string to uppercase while keeping spaces between the words.