How to read an equation from a source file????

How to read an equation from a source file????

I would like to read an equation of the type : (15**2-D**2)**0.5 with the variable D, with the command READ(7,*)C and it gives me an error message.Do i have to state thatD is a variable???how???Any ideas?It is kind of urgent , because i have to deliver my homework at school...

1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.