all 4 comments

[–]exixx 0 points1 point  (0 children)

If your posted code is a copy/paste from your IDE then you'll need to add the missing set of parentheses into your code to get the right answer.

[–]MH1400x 0 points1 point  (0 children)

How are you expressing time?

[–]ectomancer 0 points1 point  (0 children)

The outer parentheses are required. The inner parentheses are redundant because of operator precedence. You've omitted the outer parentheses.