Thanks very much David.. i finally got it working.. i knew it would be something simple i was not doing correct which was looping through the complete array first without taking any action.. works...
Type: Posts; User: Fordy252
Thanks very much David.. i finally got it working.. i knew it would be something simple i was not doing correct which was looping through the complete array first without taking any action.. works...
We are not allowed to use sets.. we were told to use only nested loops.. i am new to java and am still finding it very hard to get my head around nested loops.. this program is making me crazy.. i...
Thanks for your help.. but i've being still trying to do this and i just can't get it working.. i am looping over the numbers entered array and trying to enter them to the distinct array only once...
Hi, i would really apreciate help with this one. I am to write a program that for the user to enter 10 numbers and it will print only distinct numbers.. in other words.. it will display the numbers...