.
By default, from the problem description we MUST assume that the account is compound,
that the compound period is one year and that the annual rate is 4%.
The condition DOES NOT LEAVE a room to make other assumptions.
I will not repeat calculations of the two other tutors for this case --- they are correct.
But the conclusion that they both make for the answer to be 17.7 years, is WRONG.
The correct answer is THIS:
17 years period is not enough to double the deposited amount;
the 18 years period is just enough.
/\/\/\/\/\/
Alan tries to correct me, but I do not agree with his correction.
The words "an account pays 4% annual interest" COVER all possible variations, making them non-essentials.
Any other treatment / interpretation of the condition (if possible) is a harassment over the common sense.