Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enter your code herepublic class Main {
- public static void main(String[] args) {
- Double Gar=1.0;
- for (int i=1 ; i<50000 ; i++)
- Gar =Gar+1.0/i ;
- System.out.println(Gar);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement