CodePudding user response:
Int total=0;
For (int I=10; I & lt;=200; ) {
Total=total + I;
I=I + 10;
}
System. The out. Println (total);
CodePudding user response:
The function to the add () {
Var total=0;
For (var I=1; I & lt;=20; I++) {
Total +=I * 10;
}
Alert (total);
}