I have two multi dimensional array.I want to check each value in the array.If the values are not equal,I want to add them in another array and if they are equal,I want to skip that iteration and continue till the last element in the array.when Iam trying,iam not able to iterate through the array element.Can any pls let me know the logic for this?
Your single-dimension array problem still requires a nested loop, as Shyam described above. However, instead of using the nested loop to iterate through a multi-dimensional array, you would do something like...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop