Initials · イニシャル
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.
イニシャル
first は "ada"、last は "lovelace" です。initials に "A.L." を保存してください——それぞれの先頭文字を大文字にし、その後にドットをつけます。
同時に3つのアイデア:文字を取り出し、大文字にし、+ で結合します。一歩ずつ組み立てて、間違っている場合は現在の内容を出力して確認してください。
first is "ada" and last is "lovelace". Store "A.L." in initials — each first letter, capital, each followed by a dot. · first は "ada"、last は "lovelace" です。initials に "A.L." を保存してください——それぞれの先頭文字を大文字にし、その後にドットをつけます。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。