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". เก็บ "A.L."在下 initials — ตัวอักษรแรกแต่ละตัว, ตัวพิมพ์ใหญ่, ตามด้วยจุด
สามแนวคิดพร้อมกัน: นำตัวอักษร, ทำให้เป็นตัวพิมพ์ใหญ่, เชื่อมต่อชิ้นส่วนด้วย +. สร้างทีละขั้นตอนและพิมพ์สิ่งที่คุณมีตอนนี้ถ้ามันผิดพลาด
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". เก็บ "A.L."在下 initials — ตัวอักษรแรกแต่ละตัว, ตัวพิมพ์ใหญ่, ตามด้วยจุด
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่