you have a real number and a integer number, so you have to use diferent FORMAT for them
example_1
- if you want scientific format try
E15.7,1x,I8
----> output 0.1230000E+02 9999
- or
F15.7,1x,I8
----> output 12.3000002 9999
example_2
x=12.3 ; n=9999
write(*,100)x,n
100...