Hi There
Im having difficulty with sorting out an element in my code.
I have an array with 6 spots that need to increment every time the user enters one of the figures.
That part i have done
...
Type: Posts; User: mike2452
Hi There
Im having difficulty with sorting out an element in my code.
I have an array with 6 spots that need to increment every time the user enters one of the figures.
That part i have done
...
Hey Sean
Is there a way of incrementing that first initial input without re doing the whole thing. I have tried everything I could but still no worky
Thanks so much for your help
Hi
I was wondering if someone can help me out with a bit of code.
I cant get my loop to work properly, in particular the incrementing of vehicle [0]
Everytime I run the loop it skips vehicle[0]...
I want to make the following code shortened into a loop
can anyone help me out
while (usernumber >= 1 && usernumber <= 7)
{
usernumber = scanner.nextInt();
if...
Hi Norm
I need the array so i can assign each animal on the array a counter variable (incrementing) so i can store the data given by the user. I will then need to show a summary of data recorded e.g...
Hi Norm
I have built the array
Scanner scanner = new Scanner(System.in);
Animal[0] = 1;
Animal[1] = 2;
Animal[2] = 3;
Animal[3] = 4;
Animal[4] = 5;
Animal[5] = 6;
Animal[6] = 7;
Hi there
I have a scenario where a wildlife observer is looking for animals in the wild. The observer must enter a number 1-8 depending on the animal he sees. he enters the numbers one at a time and...