Write a program to print the series 1,5,25,125, up to 20 terms java
Answers
Answered by
4
class series
{
public void main ()
{
for (int i=1; i<=20;i++=i*5)
{
System.out.print(i+",");
}
}
}
Similar questions