CJCoding With Joseph
15free / daySign inCreate account

Acronym From Three Words

Three words are read into a list. Build their acronym by starting from an empty string and adding the character at index 0 of each word in order inside a for loop, then print the acronym on one line, keeping whatever case the words have. Input: three lines, one word each, no prompts.

Expected Output:

CPU

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
Strings
📥 Auto-Input:
Central\nProcessing\nUnit\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.