Pairing session - Carlos Jimenez
Never
## Stock Quantity Validation One assumption we made on the base exercise was that we won't have any operations in which the investor will sell more stocks than they have. For this extension, you will need to output an error message when the investor inputs an operation that tries to sell more stocks than they have. ````````` Input #1 [{"operation":"buy", "unit-cost":10, "quantity": 10000}, {"operation":"sell", "unit-cost":20, "quantity": 11000}] Output #1 [{"tax":0}, {"error":"Can't sell more stocks than you have"}] Input #2 [{"operation":"buy", "unit-cost": 10, "quantity": 10000}, {"operation":"sell", "unit-cost":20, "quantity": 11000}, {"operation":"sell", "unit-cost": 20, "quantity": 5000}] Output #2 [{"tax":0}, {"error":"Can't sell more stocks than you have"}, {"tax":10000}]
Raw Text
-
olloss
21 min ago
-
Untitled
30 min ago
-
https://www.jpost.com/brandblend/article-796345
39 min ago
-
HOLED Tight Booty Babe Quinn Wylder Gets Ass Pounded
2 hours ago
-
my husband likes to watch me fuck another - unfaithful wife - in Spanish
3 hours ago
-
CP🍬🍭 VIDEO😏 R@PED😈 LITTLE GIRL🍼👧💦💦
3 hours ago
-
Ariel Is A Lonely Housewife With A Big Sexual Anal Appetite That Needs To Be Taken Care Of - AnalMom
3 hours ago
-
Adult Telegram Channels
3 hours ago
-
4L/ The Incredible Legs Of Louisa Lanewood Desire Your Admiration!
4 hours ago
-
awsdf vhbh joijkj
4 hours ago