IBM interview question

Simple programming ques