Final answer:
The correct statement that declares a variable to store a temperature rounded to the nearest tenth of a degree is 'double patientTemp;'.
Step-by-step explanation:
The correct statement that declares a variable to store a temperature rounded to the nearest tenth of a degree is B. double patientTemp;
A double data type in programming can store decimal numbers with a high level of precision, making it suitable for storing temperatures rounded to the nearest tenth of a degree. For example, a variable declared as 'double patientTemp;' can store values like 98.6, 99.3, or 97.1, representing temperatures measured in Fahrenheit or Celsius.
On the other hand, boolean, int, and assigning a value of 0 or 0.0 to a variable (options A, C, D, and E) wouldn't be appropriate for storing temperature values rounded to the nearest tenth of a degree.