write a java program to print a series of numbers 10000 5000 2500.... till 10 terms
Answers
Answered by
0
Answer:
FLOWCHARTS ARE GENERALLY DRAWN IN THE EARLIER STAGE OF FORMULATING THE SOLUTION.
Explanation:
dddddddddddddddddddddddddddd
Answered by
4
public class Series{
public static void main(String[]args) {
for(int i = 10000; i != 0; i /= 2) {
System.out.println(i);
}
}
}
- We ran a loop from 10000 to 0.
- We divided the variable used by 2.
- Anndd.... We finishes it...
Hope it helps...
Similar questions