Question
Make IPO Chart, Pseudocode, Flowchart, and Make Hand tracing at least 2x different inputs! BANK XYZ plans to create a 'Deposit Calculator' application to provide
Make IPO Chart, Pseudocode, Flowchart, and Make Hand tracing at least 2x different inputs!
BANK XYZ plans to create a 'Deposit Calculator' application to provide simulations to prospective customers in calculating their deposit investments. Then you are appointed as Programmer to make the calculator.
Requirements:
Hierarchy chart for deposito calculator:
Interest expense is 1% of the total interest. If the customer's initial balance starts from USD $ 1000 and above, it will be subject to Income Tax (Pph) 20% of the total interest. Available tenor options and interest per year: 1 month 3 months 6 months 12 months 3.4% 3.6% 3.75% 4.2% Interest is calculated on a roll-up, ie from (initial deposit + interest) multiplied by ((interest per years/12) x tenor).
Illustration of interest calculation for deposit USD 10000, Tenor 6 months, interest per year 3.75%, duration for 2 years: Repetition = (12 / Choice-Tenor) x Year duration. Interest = Deposit x Interest-per-year / 12 x Option-tenor. Total Deposit = Deposit + Interest. Total Interest = Total Deposit Initial Deposit.
Net investment is calculated from the initial balance of the customer's deposit plus the total interest after deducting interest expense and income tax (if any). Repetition / repetition that occurs depends on the choice of Tenor and Year entered.
Passing arguments by references according to the hierarchy chart. Validation of each input: o Initial deposit value should be between USD$100 USD$10000. o Tenor options are available only according to the table above. o Input year min. 1 year and a maximum of 10 years. Present guidance information for correct/appropriate input, information when it is invalid and information when successfully input
main() getinput() calculateTo talBungal) deduction() netinvestm ent() getDeposit o() getTenor() getYear() interestExp enses() income Tax Repetition Deposito Bunga Total Bunga Pilihan Tenor 6 6 1 1000 Bunga per tahun 0.0375 0.0375 0.0375 0.0375 18.75 Deposito Total 1018.75 1037.85 1057.30 1077.12 2 M| 18.75 19.10 19.45 19.82 1018.75 1037.85 1057.30 3 6 37.85 57.30 77.12 4 6 main() getinput() calculateTo talBungal) deduction() netinvestm ent() getDeposit o() getTenor() getYear() interestExp enses() income Tax Repetition Deposito Bunga Total Bunga Pilihan Tenor 6 6 1 1000 Bunga per tahun 0.0375 0.0375 0.0375 0.0375 18.75 Deposito Total 1018.75 1037.85 1057.30 1077.12 2 M| 18.75 19.10 19.45 19.82 1018.75 1037.85 1057.30 3 6 37.85 57.30 77.12 4 6Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started