i want to execute two fortran file x.f
and y.f
attached in the link
for this i did
gfortran -o x x.f
gfortran -o y y.f
However in both the cases i am getting error
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
Additionally, i searched over the internet for its solution, but i am not getting proper answer.I hope experts may help me executing these fortran codes.