We have moved to www.dataGenX.net, Keep Learning with us.

Wednesday, January 29, 2014

DataStage Scenario - Problem13


Goal : Repeat the input as it is in input

Repeat the input in output, Here what we have to do is repeat the same row no of times in output file. Suppose if 2 is there then repeat 2 two times, 4 four times in output files.


Input :
2
3
4
1




Output :
2
2
3
3
3
4
4
4
4
1


No comments :

Post a Comment