To determine how many hours are in 18,000 seconds, we need to use the relationship between seconds and hours. There are 3,600 seconds in one hour. By dividing the total number of seconds by the number of seconds per hour, we can find the number of hours.
Here is the step-by-step solution:
1. We know the total number of seconds is 18,000.
2. We also know that there are 3,600 seconds in one hour.
To find the number of hours, we divide the total number of seconds by the number of seconds in an hour:
[tex]\[ \text{hours} = \frac{18,000 \text{ seconds}}{3,600 \text{ seconds/hour}} \][/tex]
3. Performing this division, we find:
[tex]\[ \text{hours} = 5 \][/tex]
Therefore, the number of hours in 18,000 seconds is [tex]\( \boxed{5} \)[/tex].
Thus, the correct answer is:
D. 5