World Languages, asked by namra4257, 11 months ago

a building has 10 floors with floor height 3metere a ball is dropped frm top of the building find tHe time taken by the ball to reach each floor using c program

Answers

Answered by karthik5700s
1

Answer:

we are not getting this type of answer

Explanation:

please dont ask again ok ok ok ok ok ok ok ok

Answered by bhavanamadhu1503
0

Answer:

#include <stdio.h>

#include<math.h>

int time(float t);

int s=3;

float a=9.8;

int main()

{

float t;

t=sqrt((2*s)/a);

printf("The time taken to reach floor is %f\n",t);

time(t);

}

int time(float t)

{

   float t1;

   s=s+3;

   if(s<=30)

   {

       t1 = sqrt((2*s)/a);

       printf("The time taken to reach floor is %f\n",t1-t);

       time(t1);

   }

}

Explanation:

Similar questions