-
-
Save event15/0fee1ab4b9ba9d815b05423bdfc07d99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
double divide(double dividend, double divisor) | |
in{ | |
assert(divisor != 0); | |
} | |
out (result){ | |
assert(result < 10); | |
} | |
body{ | |
return dividend/divisor; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment