Hi
Thanks for the response, its in there to stop the program if the user puts a negative number in, as you can't have a square root of negative number.
I put in the end if and it gives me another error
if(a>=0.0)
1
Error: Cannot assign to a named constant at (1)...
Won't Compile the simplest of programs! Am I being stupid?
Hi, I'm just getting my teeth back into Fortran 90 I had a course on it last year, and just want to familirise myself with it before I apply for post grad stuff.
Anyway, the program i have written is:
program emosix
real:: a...