Project 4: (Difficult)Hour and Minute Hand on Top of one Another

Explanation:  Suppose we begin counting a 12-hour period in seconds (where t = 0 seconds is 12:00 and t = 1 seconds is 12:00:01.

There are several times during this 12-hour period where the minute hand is directly on top of the hour hand.  The first time this occurs is at 0 seconds.

Project 4: A working method called onTop is available.

Task: Appropriately assign the values of an array called 'times' (which has already been created) that represents all the times (in seconds) that the minute hand is directly on top of the hour hand.

Because the time in which the hands are coinciding may not be at exactly a second, there is method provided that returns true if two angle are "very close"

onTop(71.234, 71.235) returns true

Note:  If done in Java, you can assume 'times' has been declared already as an ArrayList.

**If your code works for 5 test cases in a row, you can enter your e-mail address.

Universal Computational Math Methods:

pow(5,2) returns 25.0

abs(-3.0) returns 3

sqrt(49.0) returns 7.0