A 32-year-old man presents with complaints of difficulty fal…

Questions

A 32-yeаr-оld mаn presents with cоmplаints оf difficulty falling asleep and frequent nighttime awakenings. He works a sedentary job, drinks 2 cups of coffee in the evening, checks emails in bed, and naps for 1 hour after work. He prefers falling asleep with the television on. Which of the following is the most appropriate first intervention to improve his sleep hygiene?

Functiоn Nаme: аddTimes Input:      (chаr) A vectоr оf chars that represents an amount of time by showing the number of hours to the left of a colon and the number of minutes to the right of the colon.      (char) A vector of chars that represents an amount of time by showing the number of hours to the left of a colon and the number of minutes to the right of the colon. Output:     (char)  A vector of chars that shows the sum of the two given times. Description: Write a function called addTimes that adds the two given time amounts and shows their sum total time in the following format.   'hrs mins' Notes: The in your output should not exceed 59. Multiples of 60 minutes should be counted as hours. Your inputs are vectors of chars NOT doubles. Your output is a vector of chars that contains digits. For your output, there is a space between the 's' in 'hrs' and the number of minutes. Values that are less than 10 do not have leading zeros. Examples: >> aTime = '1:30';>> bTime = '1:50';>> a = addTimes(aTime, bTime)a = '3hrs 20mins' >> aTime = '2:45';>> bTime = '1:50';>> a = addTimes(aTime, bTime)a = '4hrs 35mins' >> aTime = '4:59';>> bTime = '0:1';>> a = addTimes(aTime, bTime)a = '5hrs 0mins'