  void Distance::inputinch0(double inch0) {     if(inch0 < 0)     {         cout<<"Cannot be less than zero. Default value of 0 is being used.";     }     else     {         inches_0 = inch0;     } }  void Distance::inputinch0(double inch0) {     if(inch0 < 0)     {         cout<<"Cannot be less than zero. Default value of 0 is being used.";     }     else     {         inches_0 = inch0;     } }  