29 Jul ASSIGNMENT 1DUE DATE:WEEK 6 FRIDAY (25-AUG-2017)
ASSIGNMENT 1DUE DATE:WEEK 6 FRIDAY (25-AUG-2017)
Assignment 1Due date:Week 6 Friday (25-Aug-2017) 11:45 PM AESTWeighting:20%Assignment taskWrite a java console application that calculates and displays the bank interest for N bank accounts. N should be declared as a constant and it should be equal to the largest digit of your student ID number (e.g. if your ID number is S334261 then N should be equal to 6 and you can declare it as final int N=6). The interest is based on total amount in account as shown below in Table 1.Table 1. Amount and InterestAmountInterest$0 – $10000% (no interest)$1001 – $50002.5%$5001- $100005%Over $100008% (high interest)The application should ask the user to enter the amount for each account (total N accounts) and calculate the interest. The application should display the interest for each bank account as shown in the example below. At the end of the Nth accounts interest the details such as total interest lowest interest highest interest average interest and number of accounts with no interest should be displayed. The total interest is calculated by adding the interest for all accounts. The lowest interest is calculated by finding the lowest value from interests for N accounts. The highest interest is calculated by finding the highest value from interests for N accounts. The average interest is calculated by dividing the total interest with the total number of accounts. The number of accounts with no interest is calculated by finding all accounts with zero interest.Example for N=4Enter the amount for account number 1: 500The interest for account number 1 is $0Enter the amount for account number 2: 2000The interest for account number 2 is $50Enter the amount for account number 3: 10000The interest for account number 3 is $500Enter the amount for account number 4: 12000The interest for account number 4 is $960————————————————–Interest Details—————————————————–Total Interest: $1510Lowest Interest: $0Highest Interest: $960Average Interest: $377.5Number of accounts with no interest: 1——————————————————————————————————————-Your application is to follow the same format for input and output as in the example above but with customised welcome and exit messages.The application is to use the following classes.public class Account{public Account(){// constructor}public double interest(int amount){// code to calculate interest goes here}public int interestType(double interest){// code to determine accounts with no interest goes here}}public class AccountTest{public static void main(String[] args){// local variable declarations go here// display welcome message// loop to input amount calculate and display interest calculate summary values// generate and display summary// display exit message}}SubmissionYou must submit the following three files using the Moodle online submission system. Account.java AccountTest.java Report.docx (this file contains a brief report that includes student name student ID number coursename course code and test results (screenshots/test cases with results to show that your application isworking correctly))Important Note You should start your assignment as early as possible. Your tutor will be checking your progress inweeks 4 and 5. You should not show your source code and report to any other student. You should not ask anyone to doyour assignment. Please read CQUs plagiarism guidelines.Marking CriteriaCriteria MarksAllocated1 Variables constants and typesDeclaring and using variables and constants /22 Objects and classesCreating/declaring and using objects and classes /13 LoopsUsing loops and conditions /14 If statementsUsing if statements and conditions /15 MethodsDeclaring and using methods /26 Inputs and OutputsReading input /1Displaying results /17 Overall logic and programCalculating quantities (0 mark if program doesnt compile) /5Spacing and indentation conventions /1Naming conventions /1Comments /18 ReportTest results (0 mark if program doesnt compile) /2Presentation(fonts spaces information language) /1Sub-Total /20PenaltiesLate submission : 5% (1 mark) / day or part of a dayTotal /20
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
