Wise interview question

currency converter java coding question