title: Unused Variable Error
body: <p>I am new to programming and I am currently learning the C language. This is my code. I have tried different fixes, such as making sure I have my semicolons. However, when I go to check my code in the online compiler, I always get unused variable and data definition has no type or storage class. Any information would help me, I assure you, so please let me know what you think a possible solution could be. </p>
  
  <pre><code>//C code
  //This program will calculate the average speed of passing cars using a WHILE-END loop       
  //Developer: Jasmine Tucker
  //Date: 7 Sept 2014
  #include &lt;stdio.h&gt;
  Int main ()
  {
      /* define variable */
      int average_speed;
      int car_count;
      int car_speed;
  };
  /* set variable values */
  average_speed= 0;
  car_count=0;
  car_speed=0;
  
  /*WHILE-END loop */
  WHILE (car_count &gt; 0)
  {
      printf (“Enter the car’s speed %s:”, car_count);
      scanf (“%d”, &amp; car_speed);
      average_speed= car_speed/ car_count
      car_count++;
  }
  printf (“\n The average speed is %d miles per hour. \n”, (average_speed));
  return 0; 
  }
  </code></pre>