Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Sum10Rec.java MrG 2011.0915
- public class Sum10Rec
- {
- public static void main(String[] args)
- {
- System.out.print("1.0/1+1.0/2+1.0/3+1.0/4+1.0/5+1.0/6+1.0/7+1.0/8+1.0/9+1.0/10 = ");
- System.out.println(1.0/1+1.0/2+1.0/3+1.0/4+1.0/5+1.0/6+1.0/7+1.0/8+1.0/9+1.0/10);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement