Java Series Programs
Write a program in Java to display the first 10 terms of the following series:
10, 20, 30, 40, ……..
Java
Java Iterative Stmts
ICSE
247 Likes
Answer
public class KboatSeries
{
public static void main(String args[]) {
for (int i = 10; i <= 100; i += 10) {
System.out.print(i + " ");
}
}
}
Output
![BlueJ output of Write a program in Java to display the first 10 terms of the following series: 10, 20, 30, 40, …….. BlueJ output of Write a program in Java to display the first 10 terms of the following series: 10, 20, 30, 40, ……..](https://cdn1.knowledgeboat.com/img/java-programs/solutions-p2.jpg)
Answered By
134 Likes