An exercise for clone, commit and pullrequest.
- clone the repository locally
- create a new branch
- fix all errors and add missing operators
- create a diff and safe it as "changes.diff"
- commit the changes locally
- create pull request locally and upload it in moodle as "pull.request"
git clone
git checkout -b
git diff
git add
git commit
git request-pull
Compile and test:
gcc calculator.c
./a.out