Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello Sir, I need a short basic beginner level BlueJ java project to becompleted

ID: 3614028 • Letter: H

Question

Hello Sir,
I need a short basic beginner level BlueJ java project to becompleted here are the details of the assignment.

Write a program to calculate the interest due, total amount due,and the minimum payment for a revolving credit account. The programwill ask the user to enter his/her name as well as the accountbalance. It will then add the interest to get the total amount due.The interest rate is 2% on the first $1,000 and 1.5% on any amountover that. The minimum payment is the total amount due if that is$15 or less; otherwise the minimum payment is either $15 or 5% ofthe total amount owed, whichever is larger. The program will outputuser’s name, total amount due, and minimum payment.


After output of the user name, total amount due, and minimumpayment, the program ask the user to enter the amount he/she willpay, then calculate again and output the total amount due, minimumpayment of next billing cycle. If the user pays off the balance,then your program will output a “Thank you for yourpayment” message. If the user overpays, the program willindicate the fact and output how much over paid. Note that if theuser did not pay the minimum payment, the interest rate will changefrom (2% and 1.5%) above to (3% and 2.5%) for amount under $1000and over $1000 and a penalty of $10 will be added to the balance.
For this program please use java.util.scanner and please make itbasic because I am a beginner in java, also please use if elsestatements, This is a very basic program should take you not long Ihave tried doing this program by myself but have made many errorsand is not complete

import java.util.*;

public class Credit
{

public static void main(String[] args)
{

Scanner reader = new Scanner(System.in);
int balance;
String name;
System.out.println("Welcome to the program");
System.out.println("Please enter your name, then hitenter");
name = reader.next();
System.out.println("Please enter your current accountbalance");
balance = reader.nextInt();
if (balance <= 1000)
{
System.out.println("Hi" + name + " yourtotal amount due is " + balance + " your minimumpayment is " + (balance * 0.015));
}
}
}



Please fix and complete this program

Explanation / Answer

please rate - thanks import java.util.*; public class Credit { public static void main(String[] args) { Scanner reader = new Scanner(System.in); double balance; double interest,total,min,rate,pay,int1=.02,int2=.015,pen=0; String name; System.out.println("Welcome to the program"); System.out.println("Please enter your name, then hit enter"); name = reader.nextLine(); System.out.println("Please enter your current accountbalance"); balance = reader.nextInt(); do{ if (balance =total)    { System.out.println("Thank you for yourpayment");     if(pay>total)          System.out.println("you overpaid by $"+(pay-total));    } if(pay0);   } }
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote