source: CIVL/examples/experimental/quadratic.c@ 5d390d68

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 5d390d68 was 51ce19d, checked in by Ziqing Luo <ziqing@…>, 12 years ago

add a example shows the quadratic problem

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

  • Property mode set to 100644
File size: 192 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 elaborate(n);
12 printf("%d\n", n);
13}
Note: See TracBrowser for help on using the repository browser.