/* CSC 101 Fall 2013 */ /* Alex Dekhtyar Lab 4 */ /* Grower's Grove Game */ /************************************/ /* decision-making tests */ #include #include "grove.h" int main() { compareProfits(1,1,20,20); compareProfits(2,16,7,12); compareProfits(20,20,1,1); compareProfits(5,3,5,4); compareProfits(5,3,6,3); compareProfits(1,3,1,19); printf("\n"); compareAnnual(1,1,20,20); compareAnnual(2,16,7,12); compareAnnual(20,20,1,1); compareAnnual(5,3,5,4); compareAnnual(5,3,6,3); compareAnnual(1,3,1,19); printf("\n"); betterInvestment(1,1,20,20); betterInvestment(2,16,7,12); betterInvestment(20,20,1,1); betterInvestment(5,3,5,4); betterInvestment(5,3,6,3); betterInvestment(1,3,1,19); printf("\n"); return 0; }