public class HelloWorld{public static void main(String[] args){int num =102;int count = 0;int zy = 100;int cy =num-zy;if(cy>=0){ System.out.println("它是个3位的数!");}
不能哦,如果num = 10000还是会输出是个三位数