如何检查我的整数是否可以除以3,如下所示:
for(int i=0; i<24; i++){ //here, how to check if "i" can be divided by 3 completely(e.g. 3, 6, 15)? }
java
java ×1