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, 21.06.2019 22:00
Which is produced by the endocrine system to control how cells and organs function
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
You know the right answer?
Stripe Capital Stripe Capital lends our merchants funds in order to grow their businesses. In exchan...
Questions
question
English, 04.11.2020 20:20
question
Spanish, 04.11.2020 20:20
question
Mathematics, 04.11.2020 20:20
question
English, 04.11.2020 20:20
question
Mathematics, 04.11.2020 20:20
question
English, 04.11.2020 20:30