Here is the picture of my code

I have included cs50.h library, and I've ran the program after substituting a number in place of the get_int function and the program works completely fine, so something is wrong with using the function for me, and this problem persists on the Cash problem as well.

1 Answer 1


The issue was that it was saved as Mario.C instead of Mario.c

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .