(String[] args)
| 19 | */ |
| 20 | class ForDemo4 { |
| 21 | public static void main(String[] args) { |
| 22 | //����ͳ�Ʊ��� |
| 23 | int count = 0; |
| 24 | |
| 25 | for(int x=100; x<1000; x++) { |
| 26 | int ge = x%10; |
| 27 | int shi = x/10%10; |
| 28 | int bai = x/10/10%10; |
| 29 | |
| 30 | if(x == (ge*ge*ge + shi*shi*shi + bai*bai*bai)) { |
| 31 | count++; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | System.out.println("ˮ�ɻ������У�"+count+"��"); |
| 36 | } |
| 37 | } |
nothing calls this directly
no outgoing calls
no test coverage detected