To me it looks like it list min/max lvl and then checks current level. I’m unsure what the “ignore/clear” does but “++difficulty” I would say increases the difficulty if certain criteria is met. I then see a success message followed by a close. That is my best guess. LOL
I think the instructor more meant what is the main()
overall.
1 Like
Thank you!
I have no idea what “main()” is specifically.
At this point what I see is that the “main()” function works as a control or information liaison. It dictates the start of a program, calls other functions, holds the result of functions and relays that back to the OS. I would really appreciate others input on my findings to be sure I understand. Than you!
you are almost right really.
main() is simply the first function that runs when the program starts and when main() returns the program will stop too.
1 Like
Okay, thank you again.
1 Like