Programming Basic with JavaScript ------- Problem

Zdraveite kolegi ,imam problem - https://pastebin.com/FeBB6FJ5 . V judge mi dava 80/100 i ako nqkoi e taka dobur da mi pomogne ,shte sum mnogo blagodaren heart

p.s Kirilicata mi se precaka i ne moga da q polzvam v momenta