Answer: 2.5 years
Explanation:
The formula to calculate the simple interest is given by :-
, where P is the principal amount , r is the rate of interest ( in decimal) and t is time ( in years).
Given : P= $800 ; r= 5% =0.05 and I=$100
Then , we have

Hence, you must leave the money in the account for 2.5 years to earn $100 in interest.