title: Input, output and text in one Mathematica cell?
body: <p>I'd like to be able to mix text and computation.  Something like this:</p>
  
  <blockquote>
    <p>blah blah blah  ...<br>
    blah blah ... The average mass is <strong>(m1 + m2 + m3)/3</strong> = <strong>23.4</strong> g  ... blah blah<br>
    blah blah blah ...</p>
  </blockquote>
  
  <p>Where the "(m1... )/3" is the input, and the "23.4" is the output.  Right now I only know how to show input in one cell, and the output in another cell below it.</p>
  
  <p>Is this possible? </p>
  
  <p>Update: I want to include these bits of computation in the midst of larger blocks of writing, so I'm not sure how to use a Print statement as Koantig suggested, because it seems I'd have to concatenate an entire paragraph/cell worth of strings and styles.</p>
  
  <p>thanks,<br>
  Rob </p>