Write a program in Java to display the first 10 terms of the following series:
10, 20, 30, 40, ……..
316 Likes
public class KboatSeries { public static void main(String args[]) { for (int i = 10; i <= 100; i += 10) { System.out.print(i + " "); } } }
Answered By
163 Likes
Which of the following are entry controlled loops?
(a) for
(b) while
(c) do..while
(d) switch
Write a program in Java to find the Fibonacci series within a range entered by the user.
Sample Input:Enter the minimum value: 10Enter the maximum value: 20
Sample Output:13