Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Jared Teller
- C
- 9/18
- public class chapter1exercise4
- {
- public static void main(String[] args)
- {
- double x = 1000;
- for(int i = 1; i<=3; i++)
- {
- x*=1.05;
- }
- System.out.println(x);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement