title: write a program that prompts the user to input five decimal numbers
body: <p>This is the question.</p>
  
  <p>write a program that prompts the user to input five decimal numbers. the program should then add the five decimal numbers, convert the sum to the nearest integer,m and print the result.</p>
  
  <p>This is what I've gotten so far:</p>
  
  <pre><code>// p111n9.cpp : Defines the entry point for the console application.
  //
  
  #include &lt;iostream&gt;
  using namespace std;
  
  double a, b , c , d , e, f;
  
  int main(int argc, char* argv[])
  {
   cout &lt;&lt; "enter 5 decimals: " &lt;&lt; endl;
   cin &gt;&gt; a &gt;&gt; b &gt;&gt; c &gt;&gt; d &gt;&gt; e;
   f = a + b + c + d + e;
   return 0;
  }
  </code></pre>
  
  <p>Now I just need to convert the sum(<code>f</code>) to the nearest integer, <code>m</code> and print the result. How do I do this?</p>