Results 1 to 4 of 4
- 11-10-2012, 12:11 PM #1
Member
- Join Date
- Oct 2012
- Posts
- 28
- Rep Power
- 0
- 11-10-2012, 12:47 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,400
- Blog Entries
- 7
- Rep Power
- 17
Re: if/else test if y is a multiple of z
Check your textbook and read what the % (modulo) operator does.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 11-10-2012, 04:15 PM #3
Member
- Join Date
- Oct 2012
- Posts
- 28
- Rep Power
- 0
Re: if/else test if y is a multiple of z
Thanks, Edit: finally got it, and obviously it was more easy than I thougt y%z == 0.
Last edited by LasseA; 11-10-2012 at 04:37 PM.
- 11-10-2012, 04:57 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,400
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
One test print statement prints multiple times in extended paintComponent method
By hamster in forum New To JavaReplies: 4Last Post: 04-27-2012, 09:43 AM -
One process open multiple threads on multiple CPUs
By kfcnhl in forum Threads and SynchronizationReplies: 2Last Post: 12-12-2011, 08:27 AM -
multiple Data from Jsp that having same name of multiple input tage to servlet
By rahul9323.2007@gmail.com in forum Advanced JavaReplies: 0Last Post: 07-29-2011, 01:00 PM -
Running multiple threads on multiple CPU cores?
By Dosta in forum Threads and SynchronizationReplies: 2Last Post: 09-19-2010, 03:48 PM -
Test Advisory Panel-Telecommute- Test your Java skills + share insights on Java tests
By michelle in forum Jobs OfferedReplies: 0Last Post: 04-05-2008, 12:38 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks