How do we take the inputs for ragged arrays from command line.......??
How do we take the inputs for ragged arrays from command line.......??
What do you want to do? What sort of input are you expecting on the command line (or are you asking how to describe such an array on a command-line?)
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Actually a ragged array is a two dimensional array in which the elements in the rows is not same.
here is a sample input how it should be read
43.6.9
90
45,1,21
I take it that first line has a typo of some sort, as 43.9.6 is not a valid number, nor a list of valid numbers.
But yes, I know (after I googled it) what a ragged array is. What I'm asking is what you actually want to know. And more importantly, what it has to do with command-line.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
yes the first line has a typo its actually 43,6,9...........
my command line i mean we have to take some input ............in such case we read it........so how do we take inputs for a ragged array