So my code printed fine when I used printf and scanf together but when I changed it to the get_int command it no longer prints anything. How do I use get_int and still print my code? The purpose of switching to get_int was so that my code would re-prompt when any characters were entered. Other recommendations like using exceptions to avoid characters was too confusing and since I am new to coding I can't figure out how to implement it.
You keep saying "print my 'code' ". Are you trying to print out the data that you just took in with get_int? The get_int() function doesn't print out what was taken in (You can actually read the source code, if you find it - use google.)
Instead, you'd need to add a printf line after the get_int to reprint the input value if you want, or for diagnostic and testing purposes, although that would cause check50 to fail.