Wise interview question

It was currency calculator based on java