\documentclass[12pt]{article}

\usepackage{verbatim,moreverb,graphicx}
\def\listingoffset{1em}
\def\listinglabel#1{\llap{\tiny\it\the#1}\hskip\listingoffset\relax}
\def\mylisting#1{{\fontsize{10}{11}\selectfont\listinginput[1]{1}{#1}}}
\def\myoutput#1{{\fontsize{10}{11}\selectfont\verbatimtabinput{#1}}}

\begin{document}

I wrote a program called heat.c.  The program was this:

\mylisting{heat.c}

The initial condition was this:

\includegraphics[width=3.5in,angle=-90]{output.eps}
%\myoutput{hello.out}

The output at time tn where n=100 was this:

\includegraphics[width=3.5in,angle=-90]{output2.eps}

\end{document}

