We calculate the screen sharpness by the formula Screen Resolution = Width (pixels) x Height (pixels) and the PPI of the screen by the formula PPI = √(Width^2 + Height^2) / Diagonal Dimension (inches).
Also, the inputs and outputs are interrelated, so if the user changes one of the values of width or length, the outputs will maintain the correct dependencies and change accordingly.
Screenshots(Attach 2 screenshots of your own input and output) -
By raising this PR I affirm that -
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.
Issue Id you have worked upon -
588
Briefly explain your program logic -
We calculate the screen sharpness by the formula Screen Resolution = Width (pixels) x Height (pixels) and the PPI of the screen by the formula PPI = √(Width^2 + Height^2) / Diagonal Dimension (inches).
Also, the inputs and outputs are interrelated, so if the user changes one of the values of width or length, the outputs will maintain the correct dependencies and change accordingly.
Screenshots(Attach 2 screenshots of your own input and output) -
By raising this PR I affirm that -
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.