Start from the template file formatting.F90 and do the following steps:
- Open a file for writing with name my-file.txt
- Write out variables
string_value
,int_value
andreal_value
using formatting that gives you a line like this:My values are 87 and 0.343
. HINT: you can add text also into the format string, for example'(I," is not same as ",F)'
- Close the file
Check that the output is correct.