How to Get File Extension in Fortran - Code Snippet

How to perform 'Get File Extension' in Fortran.

example.f90
! Task: Get File Extension
! Language: Fortran

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