Open andrewbaruch opened 2 years ago
Warning is not out of order.
This command will add an expense of $2 paid for by David.
In addition, there is a personal payment to be excluded from the total payment by "bbb abc" of $60.
The total amount to be split among the rest of the group will thus be -$58 which is less than 0 and thus triggers the error message.
Hence, there is no issue with the error message here.
Team chose [response.Rejected
]
Reason for disagreement: The only constraint with regards to the order of this command is the following:
Given that, $2 should be assigned to "bbb abc" while $60 should be assigned to the cost. Else, it does not follow the constraint.
Odd warning is given when the commands of addexpense is out of order![Screenshot (31).png](https://raw.githubusercontent.com/LeopardMerkava/pe/main/files/a8cff800-a175-4758-8182-aad0564d6fb5.png)