Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to find a matching set between multiple variables

 
Ben Hultin
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a program and I am looking to run a test to check between variables to find a set of numbers that are the same amongst 6 variables. I have not been able to find anything on this topic so far, does anyone have any ideas?

I appreciate the help
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not been able to find anything on this topic so far

It's not something you're supposed to look for, but something you're supposed to think by yourself. What do you have so far ?
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12098
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the best way to approach problems like this is to (at first) forget about Java. How would you, personally, on paper, do it? Be specific. come up with a set of instructions you could hand to someone else and say "follow these steps" and they'd get the same result.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic