I started learning C today through YouTube and I copied the code from a tutorial for testing and I get a completely different result.
My code:
However, whenever I try to run the code, the user prompt doesn't show up and when I enter "3" as an answer, this happens
Link to YouTuber's code with the timestamp. Any help would be greatly appreciated :)