When it is 8:00 in Lubbock, • It is 9:00 in New York • It is 14:00 in London • It is 15:00 in Cairo • It is 16:00 in Istanbul • It is 19:00 in Hyderabad • It is 22:00 in Tokyo Write a function that...


When it is 8:00 in Lubbock,<br>• It is 9:00 in New York<br>• It is 14:00 in London<br>• It is 15:00 in Cairo<br>• It is 16:00 in Istanbul<br>• It is 19:00 in Hyderabad<br>• It is 22:00 in Tokyo<br>Write a function that reports the time in<br>New York, London, Cairo, Istanbul,<br>Hyderabad, and Tokyo based on the time<br>in Lubbock. Use a 24-hour time format.<br>Include error trapping that:<br>1. Issues a message like

Extracted text: When it is 8:00 in Lubbock, • It is 9:00 in New York • It is 14:00 in London • It is 15:00 in Cairo • It is 16:00 in Istanbul • It is 19:00 in Hyderabad • It is 22:00 in Tokyo Write a function that reports the time in New York, London, Cairo, Istanbul, Hyderabad, and Tokyo based on the time in Lubbock. Use a 24-hour time format. Include error trapping that: 1. Issues a message like "Please Enter A Number from 00 to 23" if the first input is numeric but outside the range of [0,23]. 2. Takes any numeric input for "Lubbock time" selection , and forces it into an integer. 3. Issues an appropriate message if the user's selection is non-numeric. Test your function for these times: • 8:00 • 15:00 • 0:00 In [ ]: # script goes here

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here