6.1 Your first I/O: Input from the keyboard and output to the screen6.1.1 The simplest I/O6.1.2 Reading and writing multiple variables at once6.1.3 Standard input, output, and error6.2 Formatting numbers and text6.2.1 Designing the aircraft dashboard6.2.2 Formatting strings, broken down6.2.3 Format statements in legacy Fortran code6.3 Writing to files on disk: A minimal note-taking app6.3.1 Opening a file and writing to it6.3.2 Opening a file6.3.3 Writing to a file6.3.4 Appending to a file6.3.5 Opening files in read-only or write-only mode6.3.6 Checking whether a file exists6.3.7 Error handling and closing the file6.4 Answer key6.4.1 Exercise: Redirect stdout and stderr to files6.5 New Fortran elements, at a glanceSummary