Ferratum Bank interview question

What does this piece of code do in this program?