print table headers; open file; read from file unless a blank line is found; # skip over the code lines while we can still read from the file { read the next line; if it's a "Name(:)", "age(:)", or "phone(:)" line, store the piece of data in memory if it's a blank line { print the table row; clear the stored pieces of data from memory; } } close the file; print table footers;