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...
Send the program to ana_tweety2003@yahoo.com and I will try to help you. I need to write me the hole story : compiler, input data , an example of what you expect from the program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.