Logic to print the numbers between two numbers

Hi,

How can I print the numbers between two numbers.

Eg: Number 1 = 1, Number 2 = 5.

Expected output 2,3,4

Kindly help. Thanks in Advance

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data