why i couldnt get expected output? what's wrong?
#include
int main(){
float t=3.0;
const g = 10;
float D = 1/2*g*t*t;
printf("Distance is %f",D);
return 0;
} why i couldnt get expected output? what's wrong?
#include
int main(){
float t=3.0;
const g = 10;
float D = 1/2*g*t*t;
printf("Distance is %f",D);
return 0;
} Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SuriPosted Jul 10, 2021, 7:32 AM
Rajanikant HawaldarPosted Jul 10, 2021, 6:55 AM
Sachin SinghPosted Jul 10, 2021, 6:29 AM