|
From: | Terry Duell |
Subject: | Re: Finding whether the element of the array is present in the other array and finding the index value |
Date: | Wed, 27 May 2020 09:24:58 +1000 |
User-agent: | Opera Mail/12.16 (Linux) |
On Wed, 27 May 2020 09:05:46 +1000, GK19 <address@hidden> wrote:
i have 2 arrays p = -0.20000 1.80000 v = 0.9000 0.30000 1.20000 1.50000 1.80000I have to compare both the array and finding the whether the element presentin p is equal to the element present in v. It has to check each value. if its a success then print the value and the index along it. how to do it? Please help
Perhaps if you showed how you have tried to solve this thus far, and the results, someone might be able to show where you are going wrong.
Cheers, -- Regards, Terry Duell
[Prev in Thread] | Current Thread | [Next in Thread] |