Pairing session - Estefany Sandoval
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
-
tgdsfghj vbnvcxc
3 min ago
-
fgdgfdg
9 min ago
-
Untitled
11 min ago
-
asdfbn dasdfbn adsdf
13 min ago
-
Feed Me Cock Make Me Cum
13 min ago
-
dfsdsf ddfds dsdf ssdf dsffdssdffsd
18 min ago
-
18 year old girl lets her friend fuck her in the ass. Her tight ass is awesome!!
42 min ago
-
Amanda Trivizas - OnlyFans Leaks
45 min ago
-
Life Boost CBD Gummies
49 min ago
-
weriwiuwgueiwr
1 hour ago