An efficient way to check whether n | Returns true if n - th Fibonacci number is multiple of 10. ; Driver Code
function isMultipleOf10 ( n ) { return ( n % 15 == 0 ) ; } let n = 30 ; if ( isMultipleOf10 ( n ) ) document . write ( " " ) ; else document . write ( " " ) ;