Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I do not understand why my first name is printing the same letter twice
Simple. Lines 13 and 22 are both designed to print the first character. Comment out 13 and the problem is solved.
If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)