Defect detection: It is giving right answers for co-efficients and degree equal to 0 but in question it is mentioned as degree and co-efficients should be positive, but it should be mentioned as non-negative.
Steps to reproduce the issue:.
Data structures lab -> List of experiments -> polynomial operations -> simulation
Expected output: co-efficients and degree should be mentioned as non-negative as co-efficients have degree 0 which is non negative.
Actual output: co-efficients and degree are mentioned to be positive.
Screenshot:
Defect detection: It is giving right answers for co-efficients and degree equal to 0 but in question it is mentioned as degree and co-efficients should be positive, but it should be mentioned as non-negative. Steps to reproduce the issue:. Data structures lab -> List of experiments -> polynomial operations -> simulation Expected output: co-efficients and degree should be mentioned as non-negative as co-efficients have degree 0 which is non negative. Actual output: co-efficients and degree are mentioned to be positive. Screenshot: