Folks. I'm writing an exercise for my college, but after writing the whole code, the result of my interaction with the arrays is not working. Could someone help me in finding the error in the logic of my code? (I have to put in the result the repeated numbers of the two sequences of numbers! But here it is going blank and does not show what I want, only the sequencing appears and then the result is 0!)
Igor camargo wrote:Could someone help me in finding the error in the logic of my code?
What is the logic of your code? What it supposed to be doing? What it actually does? Any error messages? (post them here in case 'yes').
posted 2 years ago
the code must check the repeated numbers of the two sequences and print on the screen the sequences and numbers that are present in the same sequence! the teacher allows you to use only Java.lang.
My result is coming out with nothing! I know how to solve using, collections, but the teacher will not accept!