Hi guys im writing a program to calculate costs of a long distance tekephone call. Im getting some errors and am not sure how to fix them or what they mean for the matter. For lines 45 and 51, it says function definition not allowed. Why is that?
You can't define functions inside other functions. Anyway, you didn't write that code as if they were functions, so if you just comment lines 45, 46, 48, 49, 51, 52, 54, and 55, it should work.