Homework 1
The deadline is Sunday, the 13th of September, 23:59 (Estonian time).
You have decided to buy a new TV set and do not know what size is best for you. Write a program that prompts the user for distance from the sofa to the TV set in meters. The program must compute and output the diagonal size of the TV set in inches suitable to your room (use the following formula: diagonal_size = distance * 100 * 0.39 / 2.5). Round the answer (you can use round for that, e.g. round(2.5) gives 3).
The program must compute and output the diagonal size of the TV set in inches suitable to your room.
Enter distance (m): 4 The suitable diagonal size is 62 inches.
Enter distance (m): 2.75 The suitable diagonal size is 43 inches.
Go to Moodle and upload your solution into Homework 1.