Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am Taking Computer Architecture and I would like to this java project in MIPS Assambly language as my final project. PLease help me. REQURIEMENT:

I am Taking Computer Architecture and I would like to this java project in MIPS Assambly language as my final project. PLease help me.

REQURIEMENT: Write the application of a bank service application provide the menu to allow users to select the tasks to do on the account 1. Open new account 2. Check current balance 3. Deposit 4. Withdraw 5. Print Monthly Statement NOTE: for now this application is only work for one account per time you run the application. Therefore, If users slecte one of function from 2 to 5 before create account, the application should display the message to ask users to open account first. Also the application should allow users to continue to use until they want to exit There are 2 types of accounts: -Checking account information: name (String), accountNumber (String), balance (double), montlyFee(double) Tasks: depositMoney, withdrawMoney, checkCurrentBalance, bankStatement -Saving account information: name(String), accountNumber (String), balance (double), interestRate (double) Tasks: depositMoney, withdrawMoney, checkCurrentBalance, bankStatement, changeInterestRate INSTRUCTION OW TO DO PART 2 ANALYSIS UML: Read the requirement and determine how many data type classes that you need for this project then draw UML for each one HINT: Because the CheckingAccount and the SavingAccount have some the same information and tasks, therefore, you should think about create a parent class FA2017LAB2_Account_yourLastName to hold all common information and tasks then allow class FA2017LAB2_CheckingAccount_yourLastName and FA2017LAB2_SavingAccount_youLastName to inherit PSUEDO-CODE: Read the requirement again to see how many task you need to provide for the applica COSC2436 LAB2 3 1. Function Open New Account: -ask users to enter name, accountNumber and balance -ask users if the account is checking or saving account? If user open checking account, create an account object then point it to a checking account object. If user open saving account, create an account object then point it to a saving account object (to apply polymorphism) -Display the information of the account as following format, for example if it is checking account Account Name: Le, Liem Account Number: 1567794657 Balance: $1000.0 Type: Checking Account Monthly fee: $10.0 -Display the information of the account as following format, for example if it is saving account Account Name: Le, Liem Account Number: 1567794657 Balance: $1000.0 Type: Saving Account Interest Rate: 1.5% 2. Function Check Current Balance: -If it is checking account: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $1000.0 Type: Checking Account -If it is saving account: Account Name: Le, Liem Account Number: 1567794657 Balance: $1000.0 Type: Saving Account 3. Function Deposit Display message to ask for the deposit amount Print out the result: -If it is checking account: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $1500.0 Deposit amount: $500.0 Type: Checking Account -If it is saving account: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $1500.0 Deposit amount: $500.0 Type: Saving Account 4. Function Withdraw Display message to ask for the withdraw amount. Print out the result: -If it is checking account: Check condition if after withdrawing the balance is less than $20, display deny message, otherwise display as follows: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $800.0 Withdraw amount: $200.0 Type: Checking Account -If it is saving account: Check the condition if after withdrawing the balance is less than $50, display deny message; otherwise display as follows: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $800.0 Withdraw amount: $200.0 COSC2436 LAB2 4 Type: Saving Account 5. Function Print Monthly Statement -If it is checking account, print the statement as follows: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $800.0 Type: Checking Account Monthly Fee: $10.0 New Balance: $790.0 -If it is saving account, print the statement as follows: Account Name: Le, Liem Account Number: 1567794657 Current Balance: $800.0 Type: Saving Account Interest Rate: 1.5% Interest Amount: $12 Balance: $812.0 6. When users select exit, display the message: The application is terminating.. before exiting WRITE THE CODE -Create the project name: FA2017LAB2_PART2 -Add all data type classes and driver class -Based on each UML you should write the code for data type class -Based on the pseudo-code, write the code for main COMPILE AND RUN THE PROJECT -Ensure you have the comments on each class -Ensure you lab has all the requirements that are listed on How to grade the lab list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions