TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
csharp beginner
NA
38
12.1k
comparing arrays
Nov 9 2013 3:02 AM
i have three arrays, say, array1, array2, array3.
array1 = {10, 11, 12, 13, 14 , 15, 16, 17, 18, 19, 20}
array2 = {10, 11, 13, 16, 19, 20}
array3 = {22, 25, 75, 36, 82, 99}
i want to check: if 'ith' element from array1 is present in array2, then write 'ith' element of array3, corresponding to array2, else, put a null value.
Note:
# array2.length = array3.length
#The result should be like:
10 22
11 25
12 null
13 75
14 null
15 null
16 36
17 null
18 null
19 82
20 99
can anybody help?
Regards
Reply
Answers (
2
)
Single SQLDB in multiple system in network
windows 8 application