source: CIVL/examples/arithmetic/moddiv.cvl@ 367a390

main test-branch
Last change on this file since 367a390 was b689afd, checked in by Stephen Siegel <siegel@…>, 4 weeks ago

Getting rid of unused examples that are not good and starting to clean
up others.

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

  • Property mode set to 100644
File size: 177 bytes
Line 
1#include <stdio.h>
2
3$input int A;
4$input int B;
5$input int C;
6$assume(A > 0);
7$assume(B > 0);
8$assume(C > 0);
9
10void main() {
11 printf("result of modulo is %d\n", A % (B * C));
12}
Note: See TracBrowser for help on using the repository browser.