Hi. I'm writing a horse racing analysis program. Here is my code that is giving me trouble: note 2 functions and the header file
The function void raceDistance(), inputs the distance of the race(input by user).
the function void test(), then prints out the distance(for testing purposes here). However I do not get the number that I put in to the 'distance' variable.
I get a very large number. It's obvious that my program does not accept my global variable declaration. Suggestions?