Skip to content

added main() function, added error checking, simplified#1

Open
VeteraNovis wants to merge 1 commit intoWD898:masterfrom
VeteraNovis:master
Open

added main() function, added error checking, simplified#1
VeteraNovis wants to merge 1 commit intoWD898:masterfrom
VeteraNovis:master

Conversation

@VeteraNovis
Copy link

  • Moved "answer" print statement to the end of the main function (So as to not repeat it 4 times)
  • Added error checking for operator and number selection
  • Placed code into a "main()" function for better organization
  • Small typo corrections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant