RosettaCodeData/Task/User-input-Text/Fortran/user-input-text.f

8 lines
130 B
FortranFixed
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
character(20) :: s
integer :: i
print*, "Enter a string (max 20 characters)"
read*, s
print*, "Enter the integer 75000"
read*, i