{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Unit 3 Discussion pt1.java

Unit 3 Discussion pt1.java - import java.util.Scanner...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.Scanner; public class AcquiredInterest { public static void main(String args[]) { float loan; // Variables Defined float rate; float time; float intrate; // Variable for total interest acquired Scanner s = new Scanner(System.in); System.out.print("Enter the Loan Amount : "); // Prompt for loan amount loan = s.nextFloat(); System.out.print("Enter the Interest Rate : "); // Prompt for interest
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}