Thread: % problem
View Single Post
Old Oct 4th, 2005, 7:45 PM   #1
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
% problem

Ok so I made this program that would filter out the dates that weren't evenly divisble by 15, so I used:

if(year % 15 == 0){}

but it didn't filter them out. Is there something wrong, or is this just the wrong thing to use?
dark_omen is offline   Reply With Quote