Code

Hi All,

    I want to write the logic for the below requirement 

For example:

------------------

My Input is 1 

Output should be : {2,3,4,5}   

can  anyone share the logic 

Thanks in Advance!

  Discussion posts and replies are publicly visible