Skip to content · ⁨コンテンツへスキップ⁩

Initials · ⁨イニシャル⁩

English

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つのアイデア:文字を取り出し、大文字にし、+ で結合します。一歩ずつ組み立てて、間違っている場合は現在の内容を出力して確認してください。

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP