Let's draw a figure from the statements in the problem. It can look like this:
The diagonal is 18 inches, the height is 10 inches and the length is x inches.
We can use the pythagorean theorem [ c^2 = a^2 + b^2 ] to solve this problem easily.
Looking at the top triangle, we can write:

With the help of a little algebra, let's solve for x, the length. Shown below:
![\begin{gathered} 18^2=10^2+x^2 \\ 324=100+x^2 \\ x^2=324-100 \\ x^2=224 \\ x=\sqrt[]{224} \\ x\approx14.97 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/6i5f7fuitfdgzo496ytcz7wr3pjnd13p5y.png)
Rounding to the nearest whole number, the length of the screen is:
15 inches