·A lumber yard produces 2x6 (read as “2 by 6”) dimensional lumber in a length of 16 feet.·For quality control the company samples the dimensions of the surfaced dry lumber at intervals, to...







·








A lumber yard produces 2x6 (read as “2 by 6”) dimensional lumber in a length of 16 feet.

















·








For quality control the company samples the dimensions of the surfaced dry lumber at intervals, to ensure that the width, thickness, and length are within 1/32 of an inch (i.e. 0.03125 inclusive) of the expected dimensions.

















·








The company wants software that will allow a worker to enter the measured length, thickness, and width in inches.

















·








The program should determine if the lumber is within tolerance, or if not report what dimension(s) were out of tolerance as a report.

















·








Users can make mistakes, so the program should not crash if text is entered instead of numbers when expected, if an incorrect length is selected, or invalid data e.g. negative number(s), this would be indicated as an error in the report.

















·








A junior programmer started the project but could not complete it, a senior programmer reviewed the project and then provided some //ToDo comments and has now passed the project to you to complete it.

















·








Note: Despite lumber marketed as 2x6, i.e. 2-inches by 6-inches the actual expected dimensions of surfaced dry lumber are 1.5 inches thick, and 5.5 inches wide. [2]
write an object-oriented program



















Mar 22, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here