How to Write File in Fortran - Code Snippet

How to perform 'Write File' in Fortran.

example.f90
! Task: Write File
! Language: Fortran

program write_file() 
    ! Implementation for Write File
    ! TODO: Implement core logic here
    ! Step 1: Prepare data
    ! Step 2: Process Write File
    print *,("Done");
end program
AdSense Slot