The output was correct when i tested the code but the verification shows that i didnt meet the third requirement.Please,i would appreciate if anyone can help check where i made error.Thanks.