In your case I would think that you could put the GotAFloat function in between the using namespace std; line and the int main() line. You could put it after the end of the main function but then you would need to prototype it.
In your case I would think that you could put the GotAFloat function in between the using namespace std; line and the int main() line. You could put it after the end of the main function but then you would need to prototype it.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
Thank you so much... It works!