title: Odometer program. please suggest me some suggestions regarding this error
body: <p>My requirement:</p>
  <blockquote>
  <p>Define a class called Odometer that will be used to track fuel and mileage for an automotive vehicle.  The class should have member variables to track the miles driven and the fuel efficiency of the vehicle in miles per gallon.  Include a mutator function to reset the odometer to zero miles, a mutator function to set the fuel efficiency, a mutator function that accepts miles driven for a trip and adds it to the odometer’s total, and an accessor method that returns the number of gallons of gasoline that the vehicle has consumed since the odometer was last reset.</p>
  <p>Use your class with a test program that creates several trips with different fuel efficiencies.</p>
  </blockquote>
  <pre><code>  #include &lt;iostream&gt;
   using namespace std;
  
   class Odometer
  
    {
   public:
  
  Odometer();
  
  void reset();
  void totalfuel();
  
  void input_miles(int getmiles);
  void Odometer::set_fuel_efficiency(double fuel_efficiency);
  
  double Odometer::getgallons();
  int gallonsUsed;
  
    private:
  int milesDriven;
  double fuel_efficiency;
  int getmiles;   
  };
  
  Odometer::Odometer()
  {   
  milesDriven = 0;
  fuel_efficiency = 0;    
  }
  
  void Odometer::reset()
   {
  milesDriven = 0;
  }
  
  void Odometer::totalfuel()
  {
  fuel_efficiency = (milesDriven/gallonsUsed);
  }
  
  void Odometer::input_miles(int miles_driven)
  {
  milesDriven = milesDriven + miles_driven;
  
  }
  
   void Odometer::set_fuel_efficiency(double Fuel_efficiency)
   {
  fuel_efficiency = Fuel_efficiency;
   }
  
   double Odometer::getgallons()
   {
  return milesDriven/fuel_efficiency;
   } 
  
  
   int main()
   {
  
    Odometer CarOdometer;
    int number_of_miles_driven;
     double fuel_efficiency;
  
    cout &lt;&lt; &quot;Please enter the amount of miles driven : &quot; &lt;&lt; endl;
     cin &gt;&gt; number_of_miles_driven;
  
  CarOdometer.input_miles(number_of_miles_driven);
  
  
  cout &lt;&lt; &quot;Enter Fuel Amount: &quot; &lt;&lt; endl;
  cin &gt;&gt; fuel_efficiency;
  
   return 0;
    }
  </code></pre>
  <p>Error:</p>
  <pre><code>main.cpp:16:7: error: extra qualification â��Odometer::â�� on member â��set_fuel_efficiencyâ�� [-fpermissive]
    void Odometer::set_fuel_efficiency(double fuel_efficiency);
         ^
  main.cpp:18:9: error: extra qualification â��Odometer::â�� on member â��getgallonsâ�� [-fpermissive]
    double Odometer::getgallons();
  </code></pre>