Hello everybody
In this chapter, exercise 1.3, I have a question about this code fragment:
// Compute the greatest number up to this point
if((counter == 0)||(num[counter] > max))
max = num[counter];
}
What does the first condition means? I remove it and It works the same. I
mean:
// Compute the greatest number up to this point
if((num[counter] > max))
max = num[counter];
}
I hope somebody explain me this a little better.
Thank you all!!
--
Iván Jiménez
"Jamás me olvidaré de imaginar, aquel ayer..pues solo así, yo sonreiré...y
seré feliz"
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---