Go to the first, previous, next, last section, table of contents. Printing Output One of the most common actions is to print, or output, some or all of the input. You use the print statement for simple output. You use the printf statement for fancier…