RosettaCodeData/Task/Increment-a-numerical-string/HicEst/increment-a-numerical-string.hicest

5 lines
114 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
CHARACTER string = "123 -4567.89"
READ( Text=string) a, b
WRITE(Text=string) a+1, b+1 ! 124 -4566.89