Void sort3(int& a, int& b, int& c)
{
if (a > b)
{
std::swap(a, b);
}
if (b > c)
{
std::swap(b, c);
}
if (a > b)
{
std::swap(a, b);
}
}
Answer: Date
Explanation: We receive new information everyday, and things are always changing. If something is old, it may need to be updated with the correct information
<u>Answer</u>:
<em>By changing the decimal to a percentage
</em>
<u>Explanation:</u>
Since the requirement is to calculate the percentage of students about their preference in eating vegetables, we need to convert the given values to percentage only.
<em>
Option A: </em>By changing the addition sign to a multiplication sign. This is invalid because, there is no addition and multiplication involved in converting to percentage
<em>Option C:</em> By changing the percentage to a decimal. The given data is not available in percentage so conversion is impossible.
<em>Option D:</em> By changing the multiplication sign to a division sign Multiplication and division are not going to be performed here, since we need only percentage.