MCPcopy Create free account
hub / github.com/DuGuQiuBai/Java / main

Method main

day21/code/java/ForTest6.java:20–34  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

18*/
19class ForTest6 {
20 public static void main(String[] args) {
21 //����һ��ͳ�Ʊ�����
22 int count = 0;
23
24 //1-1000֮����������˷�Χ����forѭ�����Խ��
25 for(int x=1; x<=1000; x++) {
26 //�����
27 if(x%3==2 && x%5==3 && x%7==2) {
28 //System.out.println(x);
29 count++;
30 }
31 }
32
33 System.out.println("����"+count+"����������������");
34 }
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected