Initials · Iniciais
Initials
first is "ada" and last is "lovelace". Store "A.L." in initials — each first letter, capital, each followed by a dot.
Three ideas at once: take a character, make it uppercase, join pieces with +. Build it one step at a time and print what you have so far if it goes wrong.
Iniciais
first é "ada" e last é "lovelace". Armazene "A.L." em initials — cada primeira letra, maiúscula, seguida por um ponto.
Três ideias ao mesmo tempo: pegar um caractere, deixar maiúsculo, unir peças com +. Construa passo a passo e imprima o que tem até agora se der errado.
first is "ada" and last is "lovelace". Store "A.L." in initials — each first letter, capital, each followed by a dot. · first é "ada" e last é "lovelace". Armazene "A.L." em initials — cada primeira letra, maiúscula, seguida por um ponto.
Click Run to see the output here. · Clique em Executar para ver a saída aqui.