- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I need a little help with this code, I cannot get it right, and i know it is something simple that i am missing. Can someone help me out please. [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.text.DecimalFormat; import java.util.*; import java.lang.*; import java.text.NumberFormat; public class week2 extends JFrame … |
|
I need my rows to allign like this and my code is below, can someone tell me what I should do. Loan 1 15,000 12% 60 $333.67 $5,020.20 $20,020.20 Loan 2 15,000 10% 48 $xxx.xx $x,xxx.xx $xx,xxx.xx Loan 3 15,000 08% 36 $xxx.xx $x,xxx.xx $xx,xxx.xx [CODE] import java.math.*; import java.text.*; … |
|
I have my program with my amoritization list in it, but I need to remove it and replace it with an array, which I also made up. The problem is that i am not sure how to remove the list, and add the array. Can someone tell me what the … |
|
I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. I added the array to the program and it only works for the first loan. Can someone point me in … |
|
I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. Can someone help me out please. Modify the mortgage program again. Remove the amortization table. This time enter 3 different … |
|
//import classes import java.io.*; import java.lang.*; import java.text.*; //Class Header public class Mortgage3 { //Public method header public Mortgage3() { } //Get user input public double loanAmt() throws IOException { //Declare Method Variables double PrincipalIn = 0; String answer; boolean done = false; BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); //Loop … |
|
How do I stop this from looping over and over? [code] import java.text.DecimalFormat; import java.util.Scanner; public class Loan1 { public static void main(String[] args) { Scanner input = new Scanner(System.in); double interest; double payment; double amount; double term; DecimalFormat decimalPlaces=new DecimalFormat("0.00"); while (true) { //keep looping until we see stop … |
|
I have this program that is giving me some trouble, can anyone tell me what is wrong. This is the error i am getting trying to run program java.lang.NoSuchMethodError: main Exception in thread "main" Exit code: 1 There were errors |