In case of any queries,please comment. I would be very happy to
assist all your queries.Please give a Thumps up if you like the
answer.
C++
Program
#include
#include
using namespace std;
const double GRAVITY = 9.8;
// Function prototypes
double fallingDistance(float);
int main()
{
   cout <<
\"Seconds\t\tMeters\"<
    Â
 Â
   for(float T = 1.0; T <= 10; T++)
   {
      cout<<
fixed<
   }
   cout << endl;
   return 0;
}
double fallingDistance(float T)
{
  return .5 * GRAVITY * T*T;
}
Output
Seconds     Meters
1.0Â Â Â Â Â 4.9
2.0Â Â Â Â Â 19.6
3.0Â Â Â Â Â 44.1
4.0Â Â Â Â Â 78.4
5.0Â Â Â Â Â 122.5
6.0Â Â Â Â Â 176.4
7.0Â Â Â Â Â 240.1
8.0Â Â Â Â Â 313.6
9.0Â Â Â Â Â 396.9
10.0Â Â Â Â Â 490.0