+/EE312

software design

git clone https://git.julia.blue/+/EE312

Joseph RyanProject 6884d021

master
820 B32 linesraw
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 {
21	int pennies;
22	int nicks;
23	int 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 */