source:
CIVL/examples/arithmetic/quadratic1.cvl
| Last change on this file was b689afd, checked in by , 4 weeks ago | |
|---|---|
|
|
| File size: 165 bytes | |
| Line | |
|---|---|
| 1 | #include <assert.h> |
| 2 | |
| 3 | $input int x; |
| 4 | $assume(1 < x && x <= 3); |
| 5 | $input int y; |
| 6 | $assume(1 < y && y <= 3); |
| 7 | $input int n = x * y; |
| 8 | |
| 9 | int main(){ |
| 10 | assert(1 < n && n <= 9); |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
