Java代写 | CYBR 150 – Computer Science II Object-Oriented Programming

本次Java代写是完成模拟银行存取款的程序

CYBR 150 – Computer Science II Object-Oriented Programming
Assignment #1 (Due: 3/3/2020 by 11:59 PM) (100 points)
deposit: A method that determines whether the account is inactive before a deposit is made. If
the account is inactive and the deposit brings the balance above $25, the account becomes
active again. A deposit is then made by calling the superclass version of the method.
monthlyProcess: Before the superclass method is called, this method checks the number of
withdrawals. If the number of withdrawals for the month is more than 4, a service charge of
$1 for each withdrawal above 4 is added to the superclass field that holds the monthly service
charges. (Don’t forget to check the account balance after the service charge is taken. If the
balance falls below $25, the account becomes inactive.)
SAMPLE OUTPUT
Please enter your pin code: ****
Please enter a correct pin code: ****
Please enter the balance amount: 100
Please enter the interest rate: 0.03
Please enter a monthly service charge: 2.50
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 1
Balance: $100.00
Number of deposits: 0
Number of withdrawals: 0
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 2
Enter the amount that you want to deposit: 25
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 1
Balance: $125.00
Number of deposits: 1
Number of withdrawals: 0
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 3
Enter the amount that you want to withdraw: 100
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 1
Balance: $25.00
Number of deposits: 1
Number of withdrawals: 1
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 3
Enter the amount that you want to Withdraw: 10
Sorry you can’t withdraw 10$ from your balance, your balance is below or equal 25$.
What action do you wish to take?
List the balance, number of deposits and withdrawals: Enter 1:
Deposit money: Enter 2:
Withdraw money: Enter 3:
Exit: Enter 4:
Enter 1, 2, 3, or 4: 4


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: [email protected]  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论