Question: c + + Instructions Write a program that: Prompts the user to input the length of the diagonal ( in inches ) of the screen
cInstructions
Write a program that:
Prompts the user to input the length of the diagonal in inches of the screen
Allows the user to select which type of TV the user would like to view the dimensions for
Ex
: Traditional TV area.
: LCD TV Area
: Both types of TVs area
Have the program calculate and display the:
Screen length
Screen width
Screen area
for the specified type of TV
Task #: Correct output for test cases
Test Feedback:
Status: FAILED!
Check:
Test: Traditional test
Reason: Unable to find in the program's output.
Enter the length of the diagonal in inches of the screen: : Traditional TV area.
: LCD TV Area.
: Both types of TVs area.
Enter your choice from to : Traditional TV dimensions
Screen length is: inches
Screen width is: inches
Screen area is: square inches
Error : AssertionError Unable to find a number close enough to in the program's output.
Timestamp: ::
Status: FAILED!
Check:
Test: LCD test
Reason: Unable to find in the program's output.
Enter the length of the diagonal in inches of the screen: : Traditional TV area.
: LCD TV Area.
: Both types of TVs area.
Enter your choice from to : LCD TV dimensions
Screen length is: inches
Screen width is: inches
Screen area is: square inches
Error : AssertionError Unable to find in the program's output.
Timestamp: ::
Status: FAILED!
Check:
Test: Both test
Reason: Unable to find in the program's output.
Enter the length of the diagonal in inches of the screen: : Traditional TV area.
: LCD TV Area.
: Both types of TVs area.
Enter your choice from to : Traditional TV dimensions
Screen length is: inches
Screen width is: inches
Screen area is: square inches
LCD TV dimensions
Screen length is: inches
Screen width is: inches
Screen area is: square inches
Error : AssertionError Unable to find a number close enough to in the program's output.
Timestamp: ::
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
