title: %lf' expects argument of type 'double', but argument 2 has type 'double *'
body: <p>Why am I getting this warning while trying to compile my program?
  <code>%lf' expects argument of type 'double', but argument 2 has type 'double *'</code>
  I'm using CodeBlocks IDE, But these lines give a huge number:</p>
  
  <pre><code>double calculate1 = mealPrice * (double)(percentage)/100;
  printf("The tip that you should leave is %lf \n", &amp;calculate1);
  </code></pre>
  
  <p>I'm new to C programming and still learning stuff.</p>
  
  <pre><code>// CS 262, Lab Section &lt;208&gt;
  // Lab 2
  
  #include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main(){
     printf("Enter the price of the meal: \n");
     double mealPrice = 0;
     scanf("%lf\n", &amp;mealPrice);
  
     printf("Now enter the tip percentage: \n");
     int percentage = 0;
     scanf("%d\n", &amp;percentage);
  
  
     //Calculates tip amount in double, int, and float types
     double calculate1 = mealPrice * (double)(percentage)/100;
     printf("The tip that you should leave is %lf \n", &amp;calculate1);
     int calculate2 = (int)mealPrice * (int)(percentage/100);
     printf("The tip that you should leave is %d\n", &amp;calculate2);
     float calculate3 = (float)mealPrice * (float)(percentage/100);
     printf("The tip that you should leave is &amp;f\n", &amp;calculate3);
  
     //Add tip to meal price
     double total = calculate1 + mealPrice;
     printf("The total price including tips is %lf\n", total);
  
     printf("The meal cost is %f\nThe tip percentage is %d\nThe tip amount is%lf\nThe total cost is %lf\n", &amp;mealPrice, &amp;percentage, &amp;calculate1, &amp;total);
     return 0;
  }
  </code></pre>