prog.cpp:4:16: error: expected ‘,’ or ‘...’ before ‘.’ token
float f(float W. tR)
^
prog.cpp: In function ‘float f(float)’:
prog.cpp:8:13: error: ‘tR’ was not declared in this scope
N=5.54*pow(tR/W, 2);
^~
prog.cpp: In function ‘int main()’:
prog.cpp:18:22: error: too many arguments to function ‘float f(float)’
printf("%f", f(W, tR));
^
prog.cpp:4:7: note: declared here
float f(float W. tR)
^