3
Answers

why i couldnt get expected output? what's wrong?

Suri

Suri

3y
393
1

why i couldnt get expected output? what's wrong?

#include <stdio.h>
int main(){
  float t=3.0;
  const g = 10;
  float D = 1/2*g*t*t;
  printf("Distance is %f",D);
  return 0;
  
  
}

 

Answers (3)