Initials · Iniciales
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.
Iniciales
el primero es "ada" y el último es "lovelace". Almacena "A.L." en initials — cada primera letra, mayúscula, cada una seguida de un punto.
Tres ideas a la vez: toma un carácter, conviértelo a mayúscula, une las piezas con +. Constrúyelo paso a paso e imprime lo que tengas hasta ahora si algo sale mal.
first is "ada" and last is "lovelace". Store "A.L." in initials — each first letter, capital, each followed by a dot. · el primero es "ada" y el último es "lovelace". Almacena "A.L." en initials — cada primera letra, mayúscula, seguida de un punto.
Click Run to see the output here. · Haz clic en Ejecutar para ver la salida aquí.