WAP to print 5,25,125,625.....10 terms.
Donot spam. Right answer will be marked as brainliest.
Answers
Answered by
1
This code I have written in Java . Thank you
Attachments:
Answered by
66
Answer:
Program in C for 5 25 125 625 series upto 10th term using Do while loop
/* 5 25 125 625 series upto 10th term */
#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,i;
i=1;
do
{
printf("%d ",a);
a=a*5;
i++;
}
while (i<=10);
getch();
}
Similar questions