Driver Code
public static void main ( String [ ] args ) { int n = 4 ; System . out . print ( n + " th ▁ Icosidigonal ▁ number ▁ : " ) ; System . out . println ( icosidigonal_num ( n ) ) ; n = 8 ; System . out . print ( n + " th ▁ Icosidigonal ▁ number ▁ : " ) ; System . out . println ( icosidigonal_num ( n ) ) ; } }