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; }