Dodecagonal number | function for Dodecagonal number ; formula for find Dodecagonal nth term ; Driver Code
function Dodecagonal_number ( n ) { return 5 * n * n - 4 * n ; } let n = 7 ; document . write ( Dodecagonal_number ( n ) + " " ) ; n = 12 ; document . write ( Dodecagonal_number ( n ) + " " ) ;