How to write a logic for bellow mentioned explanation:
Lets assume that there are 3 pages for each copy of print. If user wants 2 copies then write logic to show collated & uncollated sequence of papers.
Ex:- If print has 2 Copies, each copy has 3 pages then loop should get repeated so that
output should be shown as
11 (Indicates 1st Copy, 1st Page)
12 (Indicates 1st Copy, 2st Page)
13 (Indicates 1st Copy, 3st Page)
21 (Indicates 1st Copy, 1st Page)
22 (Indicates 1st Copy, 2st Page)
23 (Indicates 1st Copy, 3st Page)
Above mentioned sequence indicates Collated sequence.
11 (Indicates 1st Copy, 1st Page)
21 (Indicates 2nd Copy, 1st Page)
12 (Indicates 1st Copy, 2nd Page)
22 (Indicates 2nd Copy, 2nd Page)
13 (Indicates 1st Copy, 3rd Page)
23 (Indicates 2nd Copy, 3rd Page)
Above mentioned sequence indicates Un-Collated sequence.
Lets assume that there are 3 pages for each copy of print. If user wants 2 copies then write logic to show collated & uncollated sequence of papers.
Ex:- If print has 2 Copies, each copy has 3 pages then loop should get repeated so that
output should be shown as
11 (Indicates 1st Copy, 1st Page)
12 (Indicates 1st Copy, 2st Page)
13 (Indicates 1st Copy, 3st Page)
21 (Indicates 1st Copy, 1st Page)
22 (Indicates 1st Copy, 2st Page)
23 (Indicates 1st Copy, 3st Page)
Above mentioned sequence indicates Collated sequence.
11 (Indicates 1st Copy, 1st Page)
21 (Indicates 2nd Copy, 1st Page)
12 (Indicates 1st Copy, 2nd Page)
22 (Indicates 2nd Copy, 2nd Page)
13 (Indicates 1st Copy, 3rd Page)
23 (Indicates 2nd Copy, 3rd Page)
Above mentioned sequence indicates Un-Collated sequence.