nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Positive/Negative number detection error #934

Open nus-pe-bot opened 4 months ago

nus-pe-bot commented 4 months ago

image.png The input number is clearly a positive integer but error prompt is please input positive integer only.


[original: nus-cs2113-AY2324S2/pe-interim#855] [original labels: severity.Low type.FunctionalityBug]

paturikarthik commented 4 months ago

Team's Response

Hi there! Thank you for your bug report.

Our team believes that the error message displayed is sufficient enough to correct the user's input.

Moreover, we believe that this is a case of deliberate sabotage because consuming more than 5000 calories for one food item is unrealistic. However, this does not cause harm to our program even if this input was entered as a user mistake. As such we rejected this as it is a deliberate sabotage. Refer to the screenshot below for the guidelines on issues faced by integer overflow.

image.png

Thank you!

Duplicate status (if any):

--