Advertisement
Alex_Zuev

Untitled

Feb 22nd, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. Enter your code herepublic class Main {
  2. public static void main(String[] args) {
  3. Double Gar=1.0;
  4.  
  5. for (int i=1 ; i<50000 ; i++)
  6. Gar =Gar+1.0/i ;
  7. System.out.println(Gar);
  8.  
  9.  
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement