...
double CelsiusToFahrenheit(double c);
...
int main()
{
...
}
double CelsiusToFahrenheit(double c) ; // <- remove the semicolon
{
return (9.0 / 5.0 * c + 32);
}
Reputation Points: 1105
Solved Threads: 389
Posting Virtuoso
Offline 1,714 posts
since Nov 2007