Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@Blauelf Thank you both so much! The problem set if finished and submitted and works as intended (from what I can tell ;)). Really grateful to you both!
Ahh that makes sense! Thank you so much. I tried to convert it into an integer using atoi but kept getting errors. Do you have any ideas how I can convert it into an integer please?