Practice Question in placement papers of programming


This question will not be count towards your score and ranking.