+/EE312
software design
git clone https://git.julia.blue/+/EE312
884d021
master
1// Recursion.h -- function declarations for the EE312 Recursion project 2 3#ifndef _Recursion_h 4#define _Recursion_h 1 5 6int minIt (int [],int ); 7int minRec1 (int [],int ); 8int minRec2 (int [],int ); 9double sqrtIt (double ,double ,double ); 10double sqrtRec (double ,double ,double ); 11int strCompare (char * ,char * ); 12int strCompare2 (char * ,char * ); 13int solveMazeRec (int ,int ); 14void solveMazeIt (int ,int ); 15 16 17/* this struct is also defined in the project file, please do not change the struct in either file, or you'll break the main program 18* (i.e., the two struct definitions must match each other EXACTLY) 19*/ 20struct Martian { 21int pennies ; 22int nicks ; 23int dodeks ; 24}; 25 26Martian change (int ); 27Martian changeIt (int ); 28 29Martian change (int ,int ,int ); 30Martian changeIt (int ,int ,int ); 31 32#endif /* _Recursion_h */