From 86dd6b1975eda7146ecde1f5ff59c35b73d5c6ac Mon Sep 17 00:00:00 2001 From: ilsix Date: Thu, 4 Apr 2024 22:53:43 +0200 Subject: [PATCH] Tested Fortran --- fortran/{helloworld.f => helloworld.f90} | 2 +- fortran/test.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename fortran/{helloworld.f => helloworld.f90} (77%) create mode 100755 fortran/test.sh diff --git a/fortran/helloworld.f b/fortran/helloworld.f90 similarity index 77% rename from fortran/helloworld.f rename to fortran/helloworld.f90 index 93474a2..fced13e 100644 --- a/fortran/helloworld.f +++ b/fortran/helloworld.f90 @@ -1,3 +1,3 @@ program hello print *, "Hello World!" -end program \ No newline at end of file +end program diff --git a/fortran/test.sh b/fortran/test.sh new file mode 100755 index 0000000..1386d46 --- /dev/null +++ b/fortran/test.sh @@ -0,0 +1,3 @@ +#!/bin/bash +gfortran helloworld.f90 -o helloworld +./helloworld \ No newline at end of file