That ain't right. The remainder when you divide whole number is always a whole number.Nicole Anon wrote:. . . operator % which returns a remainder. Like 5 / 2 = 2.5 when you use modulus 5 % 2 = 0.5 . . .
Campbell Ritchie wrote:
That ain't right. The remainder when you divide whole number is always a whole number.Nicole Anon wrote:. . . operator % which returns a remainder. Like 5 / 2 = 2.5 when you use modulus 5 % 2 = 0.5 . . .
Ryan Komons wrote:Thanks for the quick replies. I should point out that I have taken Programming with Alice (which was kind of a joke).
Nikki Smith wrote: there's three types of loops. Do-while loop, while loop, and for loop. Personally, I prefer for-loops.
Nikki Smith wrote:
The set up explained in my book is this:
If you're going to do more than one statement you need to use brackets.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors