Guest User

Untitled

a guest
Jun 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3.  
  4. public class Investment {
  5.    
  6.     public static void main(String[] args) {
  7.                 Scanner amount = new Scanner(System.in);
  8.                 System.out.println("How much are you investing?");
  9.                 int money = input.nextInt();
  10.                 Scanner percentage = new Scanner(System.in);
  11.                 System.out.println("How much is the interest rate?");
  12.                 int interest = input.nextInt()
  13.                 Scanner time = new Scanner(System.in);
  14.                 System.out.println("How many years will this mature?");
  15.                 int years = input.nextInt()
  16.     }
  17.  
  18. }
Add Comment
Please, Sign In to add comment