To find out how many movies Harold watched in August, we can set up an equation using the given information.
Let \( a \) represent the number of movies Harold watched in August.
From the problem, we know:
- Movies watched in June: 12
- Movies watched in July: 13
- Total movies watched in three months: 40
We can express the total number of movies watched over the three months as:
\[ 12 + 13 + a = 40 \]
Now, we can simplify this equation:
\[ 25 + a = 40 \]
Next, we solve for \( a \) by subtracting 25 from both sides:
\[ a = 40 - 25 \] \[ a = 15 \]
Therefore, Harold watched 15 movies in August.