Computer Science, asked by divyanshibadoni104, 8 days ago

write a java program to print a series of numbers 10000 5000 2500.... till 10 terms

Answers

Answered by samadplp708
0

Answer:

FLOWCHARTS ARE GENERALLY DRAWN IN THE EARLIER STAGE OF FORMULATING THE SOLUTION.

Explanation:

dddddddddddddddddddddddddddd

Answered by purveshKolhe
4

\huge{\green{\underbrace{\overbrace{\purple{\mathfrak{answer::}}}}}}

\sf{\underline{Java--}}

public class Series{

  public static void main(String[]args) {

     for(int i = 10000; i != 0; i /= 2) {

        System.out.println(i);

     }

  }    

}

\sf{\underline{Logic--}}

  • We ran a loop from 10000 to 0.
  • We divided the variable used by 2.
  • Anndd....  We finishes it...

Hope it helps...

Similar questions