Computer Science, asked by ishita17yashi, 1 year ago

Write a program to print the series 1,5,25,125, up to 20 terms java

Answers

Answered by RAHULSEN504
4

class series

{

public void main ()

{

for (int i=1; i<=20;i++=i*5)

{

System.out.print(i+",");

}

}

}

Similar questions