How do you expect loops like this to ever exit?
Step through at least 3 iterations of your loop in your head or on paper. What is 'j' each time?Code:while(info[j] != ' ') { j=0; j++; }
How do you expect loops like this to ever exit?
Step through at least 3 iterations of your loop in your head or on paper. What is 'j' each time?Code:while(info[j] != ' ') { j=0; j++; }
If you understand what you're doing, you're not learning anything.
Hey i said i'm new to programming so just help me out don't dis me.
i think i changed sumthin coz that part of the code worked prreviously
Oh okay but wat about the rest of the code?