K
kalikoi
I have two arrays as follows
array1=("45101010","45101010","45103020","45103020","45103020","45201020","45201020",
"45201020","45201020","45202010")
array2=("0.44","0.1","0.13","2.61","0.15","0.42","0.12","0.63","0.12","0.23")
The final output should be as follows
45---------------------------------------(4.95(3.43+1.52))
4510-----------------------------------(3.43(0.54+2.89))
451010-----------------------------(0.54(0.44+0.1))
45101010---------------------(0.44,0.1)
451030-----------------------------(2.89(0.13+2.61+0.15))
45103020---------------------(0.13,2.61,0.15)
4520-----------------------------------(1.52(1.29+0.23))
452010-----------------------------(1.29(0.42+0.12+0.63+0.12))
45201020---------------------(0.42,0.12,0.63,0.12)
452020-----------------------------(0.23)
45202010---------------------(0.23)
Immediate help is appreciated
Thanks & Regards
kalyan
array1=("45101010","45101010","45103020","45103020","45103020","45201020","45201020",
"45201020","45201020","45202010")
array2=("0.44","0.1","0.13","2.61","0.15","0.42","0.12","0.63","0.12","0.23")
The final output should be as follows
45---------------------------------------(4.95(3.43+1.52))
4510-----------------------------------(3.43(0.54+2.89))
451010-----------------------------(0.54(0.44+0.1))
45101010---------------------(0.44,0.1)
451030-----------------------------(2.89(0.13+2.61+0.15))
45103020---------------------(0.13,2.61,0.15)
4520-----------------------------------(1.52(1.29+0.23))
452010-----------------------------(1.29(0.42+0.12+0.63+0.12))
45201020---------------------(0.42,0.12,0.63,0.12)
452020-----------------------------(0.23)
45202010---------------------(0.23)
Immediate help is appreciated
Thanks & Regards
kalyan