This simply works by taking three user inputs grouped into one scanf() function. These are seperated into valueOne, valueTwo and the operator (choice of *,/,+,-,^). A switch statement is then used in order to run the right calculation for the given operator. Mess around with the code and change bits here and there.
-
Notifications
You must be signed in to change notification settings - Fork 38
BradStevenson/Simple-C-Calculator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple C Program good to read through if you are learning.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published