Hello Beatrice,

On 20 Aug., 08:24, Béatrice [email protected]
<[email protected]> wrote:
> Hi !
>
> I've a problem with the exercice My JavaArrayProject.
> Here's the question :
>
> Just before the for loop that prints out the value of each entry of
> the ages[] array, create another for loop in which a value of 100 is
> assigned to the first entry of the array, ages[0], 101 to the next
> entry of the array, ages[1], and so on.
>
> I don't know how to do it.
> Can you help me ?
I will try.
I do not attend the course now, but I try to give you some hints to
help you:

You know how to create a for-loop?

Use the counter variable in the for-loop as an index into the ages-
Array.
ages.length can also be of help to get the size of the array.

HTH
Ewald


> Thanks
>
> Beatrice

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to