title: how to divided like normal math?
body: <p>/////////////////////////////////
      // Start of your code</p>
  
  <pre><code>// Ask the user to enter the price per quantity and the amount
  // she would like to purchase
  cout&lt;&lt; "Grocerry price calculator" &lt;&lt;endl;
  
  cout&lt;&lt; "what is the price given $";
  cin&gt;&gt; price;
  
  cout&lt;&lt;"For how many Items? ";
  cin &gt;&gt; quantity;
  
  cout&lt;&lt; "How many would you like to purchase";
  cin&gt;&gt; amount;
  
  
  
  
  
  
  // Calculate the cost for the amount the user would like to purchase
  
  cost =( amount / quantity) * price;
  
  
  cout &lt;&lt; amount &lt;&lt;" of the product cost ";
  cout &lt;&lt; cost &lt;&lt;endl;
  </code></pre>
  
  <p>I need to do something like this price =2, quantity =7, amount = 12. 12/7= 1.71428571, 1.714*2 = 3.42857143</p>
  
  <p>but i get 2 as my answer instead of 3.42857143 and i dont know to keep the decimal. and then i have to round up to 3.43 which i dont know how to do it either.</p>