Subject:
Computer ScienceAuthor:
quinn2Created:
1 year agopublic class KboatSeries
{
public void generateSeries() {
int term = 0;
System.out.print(term);
for (int i = 3; i < 20; i = i + 2) {
term += i;
System.out.print(", " + term);
}
}
}
0,3,8,15,24,35,48,63,80,99
Author:
miyav2ca
Rate an answer:
6