Advertisement
paperline27

program fortran pertamaku

Jan 21st, 2024
1,477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Fortran 0.26 KB | Source Code | 0 0
  1. program HelloWorld
  2.   ! Ini adalah program Hello, World! dalam Fortran
  3.  
  4.   ! Deklarasi pernyataan
  5.   implicit none
  6.  
  7.   ! Bagian utama program
  8.   write(*,*) 'Hello, World!'
  9.  
  10. end program HelloWorld
  11.  
  12. ! jalankan program
  13. ! gfortran hello.f90 -o hello
  14. ! ./hello
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement