Would it be an error if you changed
catch (double temperature)
{
cout <<<"The temperature is " << temperature << end⌉;
cout <<"It is too hot" << end⌉;
}
in the preceding code to the following?
catch (double)
{
cout <<<"It is too hot" << end⌉;
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.