source: CIVL/examples/arithmetic/quadratic1.cvl@ 7c66e72

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 7c66e72 was 869af89, checked in by Ziqing Luo <ziqing@…>, 12 years ago

Complete math.cvl and add 5 new examples under examples/arithmetic/

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1790 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 182 bytes
Line 
1#include <stdio.h>
2#include <assert.h>
3
4$input int x;
5$assume 1 < x && x <= 3;
6$input int y;
7$assume 1 < y && y <= 3;
8$input int n = x * y;
9
10int main(){
11 assert(1 < n && n <= 9);
12}
Note: See TracBrowser for help on using the repository browser.