Driver Code
static public void Main ( ) { int n = 3 ; Console . Write ( n + " rd ▁ Hendecagonal ▁ number : ▁ " ) ; Console . WriteLine ( hendecagonal_num ( n ) ) ; n = 10 ; Console . Write ( n + " th ▁ Hendecagonal ▁ number : ▁ " ) ; Console . WriteLine ( hendecagonal_num ( n ) ) ; } }