CodePudding user response:
The for loop, stop condition for the square root of 24 or less, I if I=0, 24% temp plus one, the end result is the temp power of 24CodePudding user response:
Long product=1;
For (int I=1; I & lt;=24; I++) {
If (I==0) 24% {
The product *=I;
}
}
System. The out. Println (product);
These basic homework or do better, mainly is for you familiar with the Java keywords and the role of symbols,