Skip to content
← Back to Community
4.2. For: Series - 2
Profile icon
pole55

Given two integers A and B. Print all numbers from A to B inclusively, in increasing order, if A < B, or in decreasing order, if A ≥ B.

Voters
Profile icon
USHASREECHITTOO
Profile icon
SaraAlmu
Profile icon
BinhTrinh
Profile icon
tomsfy
Profile icon
YALENRODRIGUEZ
Profile icon
181875089
Profile icon
pole55