I can’t figure out the logical error in this code

Go to top