# Sample test data file for testpoly.c (Fall 2009, assignment 3) # Not necessarily the data file we will use to grade your assignment. # cmc, updated 10/22/09 # create first polygon, find stats and print add 1 5.1 1 add 1 1.2 2 add 1 17.3 0 value 1 10.0 degree 1 count 1 print 1 # create second polygon, find stats and print add 2 4.8 2 add 2 2.25 1 add 2 -7.1 0 value 2 10.0 degree 2 count 2 print 2 # calculations sum mult diff 1 2 diff 2 1 diff 2 2 diff 1 1 # check clear, and operations associated with cleared polygon clear 1 degree 1 count 1 print 1 sum mult diff 1 2 diff 2 1 diff 1 1