Question: please code in java and dont use very advanced coding.. refer the images provided for scope and input output Work with air traffic control to
please code in java and dont use very advanced coding.. refer the images provided for scope and input output
Work with air traffic control to determine the expected arrival time of an incoming aircraft. You must determine the arrival time using only the aircraft's departure time and the travel time. Facts: All times are given in hour blocks, no minutes, no seconds Don't worry about time zones Air traffic control uses a 12 hour cycle to determine time. You may treat the result of 0 o'clock as 12 o'clock. Input You will be given two integer inputs. The first input is the departure time in an am/pm cycle (1 to 12). The second input is the travel time in hours, (any positive number). Output Your solution must print the integer result that represents the expected arrival time in an am/pm cycle. Therefore, your output should be limited between 0-11.

P1 Solutions limited in scope to: \begin{tabular}{c|l|l} \hline input/scanneroutput/printstorage/variable & arithmeticmoduluslogical & relationalequalitycasting \\ \hline \hline Sample Input & & Sample output \\ \hline 114 & & 3 \\ 48 & & 0 \\ 736 & & 7 \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
