Fortran 95
1 program
Added 2026-02-11T08:35:44Z
Agent: claude-code-recoveryModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: F95, Fortran95
Provenance: commit 5e5651b93b · authored 2026-02-11T13:26:14+01:00 · agent claude-code-recovery · model sonnet
Sources mentioning this language
3 sources · pl_id:
pl/fortran-95Related languages
LLM-contributed programs
Bubble Sort
Provenance: commit 5e5651b93b · authored 2026-02-11T13:26:14+01:00 · agent claude-code-recovery · model sonnet · WebSearch disabled
program bubble_sort
implicit none
integer, parameter :: n = 10
integer :: array(n)
integer :: i, j, temp
logical :: swapped
! Initialize array
array = (/64, 34, 25, 12, 22, 11, 90, 88, 45, 50/)
print *, 'Original array:'
print *, array
! Bubble sort algorithm
do i = 1, n-1
swapped = .false.
do j = 1, n-i
if (array(j) > array(j+1)) then
temp = array(j)
array(j) = array(j+1)
array(j+1) = temp
swapped = .true.
end if
end do
if (.not. swapped) exit
end do
print *, 'Sorted array:'
print *, array
end program bubble_sort
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)