How can I make this code better? (C++ temperature converter) : <p>I wrote this temperature conversion program while practicing classes and functions in C++. While the code works, I am not entirely satisfied with it. 
Is there any way to make this code more efficient? Are there any 
persistent mistakes in my code?
I would love it if you would critique my code. Thanks.</p>

<pre><code> #include&lt;iostream&gt;
 #include&lt;string&gt;

class convert{
public:
int c_con(float y){
float f;
    std::cout &lt;&lt; "Converting to Fahrenheit: ";
    f=y*9/5+32;

    std::cout &lt;&lt; f &lt;&lt; std::endl;
    return 0;
}
int f_con(float x){
float c;
    std::cout &lt;&lt; "Converting to Celsius:";
    c=(x-32)*5/9;

    std::cout &lt;&lt; c &lt;&lt; std::endl;
return 0;
}

};


int main(){
char a;
int b;
    convert temp;

    std::cout &lt;&lt; "__________Temp Converter-----------" &lt;&lt; std::endl;
    std::cout &lt;&lt; "What would like to convert? (c/f): ";
     std::cin &gt;&gt; a;

    switch(a)
    {
    case 'c' : std::cout &lt;&lt; "Input Celsius: ";
           std::cin &gt;&gt; b;   
            temp.c_con(b);
            break;
    case 'f' :std::cout &lt;&lt; "Input Fahrenheit: ";
              std::cin &gt;&gt; b;
                temp.f_con(b);
                break;
    default: std::cout &lt;&lt; "Wrong input.";
    }
return 0;
}
</code></pre>
