subject

Stripe Capital Stripe Capital lends our merchants funds in order to grow their businesses. In exchange for these funds, instead of a traditional interest over time model, Stripe charges a fixed loan fee on top of the original loan amount. To get back the investment, some percentage of the merchant's future sales goes towards repayment, until the loan fee and original loan amount are repaid. In this problem, you'll be building a bookkeeping system for a modified version of Stripe Capital. This bookkeeping system will have 3 API methods: 1. The merchant can create a loan. 2. The merchant can pay down a loan manually. 3. The merchant can process transactions, from which some fixed percentage of the processed amount goes towards repayment. Your Task Your Task 1. Evaluate each line of stdin, performing the actions as described by documentation below. o Each line will always begin with an API method, followed by a colon and space (: ), followed by fields of the API method as a query string. 2. After evaluating all actions, print out a list of $merchant_id, $outstanding_debt pairs, skipping over merchants who do not have an outstanding balance. This list should be lexicographically sorted by the merchant ID. 3. Finally, print out the total amount (as an integer-number of cents) collected by Stripe in loan fees. Keep in mind:

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 23.06.2019 22:50
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
You know the right answer?
Stripe Capital Stripe Capital lends our merchants funds in order to grow their businesses. In exchan...
Questions
question
History, 21.01.2021 18:40
question
Mathematics, 21.01.2021 18:40
question
Social Studies, 21.01.2021 18:40
question
Physics, 21.01.2021 18:40
question
Mathematics, 21.01.2021 18:40
question
Mathematics, 21.01.2021 18:40