Banking Operation Activities - Arrow Function Syntax - Accounting Assignment Help

Download Solution Order New Solution
Assignment Task :

Detailed Feature Specification 

 

See below for the graded features that must be implemented

Feature 1 : ES6 + implementation 

Ensure the following in app.js :

  • Variables must be declared using the appropriate ES6  keyword(s).

  • Functions must be written using  the Arrow Function Syntax.

  • Use the forEach method to traverse all arrays.

 

 

Feature 2: BankingOperation Activities

Lookup Customer 

A user must be able to “Look up a customer”, i.e, enter a valid customer ID that exists in the “fakeDB” before they can proceed to withdraw and deposit from their account.
When a user enters a customer ID, your app must search the “fakeDB”(array of user objects) to see if the entered id exists in the “fakeDB”.  This is done by traversing through the array to see if the customer ID entered matches one that exists in the “fakeDB”, i.e, array of user objects.

If an invalid customer ID is entered then your app must alert the user that the entered customer ID does not exist in the “fakeDB” (array). However,  if it does exist, then a user can withdraw money from their account. Note, only after a user successfully “Lookup a Customer”, then he or she can withdraw and deposit money from their account.

 

Withdraw Process : 

  1. The user is required to enter an amount that he or she wishes to withdraw in the relevant text field.

  2. Hit the Withdraw button

  3. The app must then subtract the amount entered from their current balance, update their balance in the “fakeDB” and then display that new amount on screen. This can be done using an alert.

  4. Please ensure that a user can make several withdrawals.

  5. Note, a user cannot withdraw an amount that is greater than their current balance. If a user attempts this, an appropriate error message must be shown

 

Deposit Process :  

  1. The user is required to enter an amount that he or she wishes to deposit

  2. Hit the Deposit button

  3. The app must then add the amount entered from their current balance,update their balance in the “fakeDB '' and lastly, display that new amount on screen.This can be done using an alert.

  4. Please ensure that a user can make several deposits.

 

This Accounting Assignment has been solved by our Accounting Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.