Enhance IT interview question

Basic assignments, for loop, if else. No algorithm.