Given three integers as user inputs that represent the number of bottles of drinks to purchase, to r
https://sourceb.in/GvAJbABEw4
I get this error: Latest submission - 4:28 PM EDT on 03/25/25
Total score: 2 / 10
(1 test hidden)
Open submission's code
1: Compare output
0 / 4
Compare output
Input
5 2 7
Your Output
Expected output
Inventory:
3
0 bottles
Inventory:
1
0 bottles
Output differs. See highlights above.
Special character legend
2: Compare output
0 / 2
Compare output
Input
20 0 0
Your Output
Expected output
Inventory:
6
0 bottles
Inventory: 0 bottles
Output differs. See highlights above.
Special character legend
3: Compare output
0 / 2
Compare output
Input
0 5 10
Your Output
Expected output
Inventory:
20
bottles
Inventory:
15
bottles
Output differs. See highlights above.
Special character legend
1 Reply
⌛ This post has been reserved for your question.
Hey @Stef! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.