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
Economy,
6 months ago
Chemistry,
6 months ago
Math,
1 year ago
Math,
1 year ago
Computer Science,
1 year ago