Codingal interview question

Loops and basic calculator coding