!学習目的:整数型変数の書式 ! ex105.f i=-123 write(*,'(i1)') i !iの次の数字は表示する桁数を表す. write(*,'(i2)') i write(*,'(i3)') i write(*,'(i4)') i write(*,'(i5)') i stop end