Mode:
Duration:
1
2
3
4
5
6
7
8
9
program MaxNumber
integer :: a = 15, b = 25, max
if (a > b) then
max = a
else
max = b
end if
print *, 'Max:', max
end program MaxNumberCoding works best on desktop or with an external keyboard.
program MaxNumber
integer :: a = 15, b = 25, max
if (a > b) then
max = a
else
max = b
end if
print *, 'Max:', max
end program MaxNumberCoding works best on desktop or with an external keyboard.
Finds the maximum of two numbers.
program MaxNumber
integer :: a = 15, b = 25, max
if (a > b) then
max = a
else
max = b
end if
print *, 'Max:', max
end program MaxNumberFortran (Formula Translation) is a high-level, compiled programming language designed for numeric computation, scientific computing, and engineering applications. Known for its efficiency in numerical calculations, Fortran has been a standard in scientific computing for over 60 years.
Origin & Creator
Fortran was developed in the 1950s by IBM engineers led by John Backus to simplify programming of numeric computations on early computers.
Industrial Note
Fortran is heavily used in computational fluid dynamics, weather modeling, numerical simulations, high-performance computing (HPC), aerospace, and energy industry applications.