The variables temp1 and temp2 are of the data type float andcontain two measured temperatures.
Then the instruction gives:
printf (“The temperaturesare:% .1f n”, temp1, temp2);
(if you do not know, then test it with your own little programbefore submitting):
Choose an answer:
1- Only the value of temp2.
2- Only the value of temp1. The 3rd argument temp2 isignored.
3- A nonsensical value
4- Both temperatures in the same format.
Expert Answer
Answer to The variables temp1 and temp2 are of the data type float and contain two measured temperatures. Then the instruction giv…