String surgery
Every member needs a clean username built from their details.
Given for you
first_name,last_name,member_sincedisplay_name— with stray spaces and messy capitals
Build a variable username: the first three letters of the first name + the first three letters of the last name + the year, all lowercase. For Ada Lovelace joining in 2026 that is adalov2026.
Then print three lines:
- the username
Welcome, <username>!- the display name tidied up: spaces stripped, written in title case, all spaces removed →
AdaLovelace