Edit: I had used $$ instead of && as an AND operator. The person below pointed that out to me. Removing the OG question because I had posted my code in it.
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.Sign up to join this community