I am trying to ditch my global variables but i can't work out how to send a variable between functions...
The program runs but gives an answer of x = 0.Code:
int main(float x)
printf("x = %f",x);
What am i doing wrong?