When I use codecademy, the terminal has never worked so far, always because of the same error:
multiple definition of ‘main’
However, I only have declared one main function, and when I put the same code into codeblocks the code works and there’s no issue of there being multiple ‘main’ functions.