title: I am attempting to print a value to the screen
body: <p>I am attempting to print a floating point value to the screen. Subsequent to changing both of the integer values to floating-point values, the output yielded a floating-point as well. I feel like a numbskull. Wow, thanks for the help!</p>
  
  <pre><code>const float PI = 3.14159; //to hold PI value
  float value = 0.0; //to hold the actual value
  float num = 0.0; //to hold the value entered by user
  cout &lt;&lt; "Please enter the number: "; //prompt user to enter value
  cin &gt;&gt; num;
  value = num * PI; //to hold the floating-point value
  cout &lt;&lt; "The value is " &lt;&lt; value &lt;&lt; "." &lt;&lt; endl; //display result
  </code></pre>