Question: Write a function nexthour that receives one integer argument, which is an hour of the day, and returns the next hour. This assumes a 12-hour

Write a function nexthour that receives one integer argument, which is an hour of the day, and returns the next hour. This assumes a 12-hour clock, so, for example, the next hour after 12 would be 1 Your Function C Reset , MATLAB Documentation 1 function nexttime nexthour(nowtime) 2 nexttine = ??? 3 end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
