Dec22-09, 07:44 PM
It's not an assignment. Rather I'm trying to learn back some fortran.
I've found a website with some simple problems to do, that's where I got this one. See the first problem of this page : http://www.chem.ox.ac.uk/fortran/.
Here's my program :
Integer :: C
Real :: F
do while (C<=100)
end program vasy
Here's the error I'm getting : "
Error: Unclassifiable statement at (1)
I know I didn't have to set F=0, but I tried several things in case the error was there... I can't get rid of the problem. My compiler is goftran and I'm under Ubuntu.
|Register to reply|
|Simple fortran error||Programming & Computer Science||2|
|need help about FORTRAN program||Mechanical Engineering||7|
|running a Fortran 77 program in a C++ enviorment/program||Programming & Computer Science||2|
|Fortran error||Programming & Computer Science||33|
|help with simple Fortran program||Programming & Computer Science||1|