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.
forked from BradStevenson/Simple-C-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
iqskr/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
Languages
- C 100.0%