Hello. I'm new to this forum and to C++ programming as well. I'm also quite new in programming (only had some experience with VBA before).
I just started to learn C++ today. I know it is a really newbish question, but I can't manage to find what's wrong with this code. It's a simple program for calculating the height a free fall object was threw from if it took "t" seconds to reach the ground. I always get the value 0 out of the function, no matter what my input is.