Driver code
static public void Main ( ) { int n = 2 ; Console . Write ( n + " th ▁ centered ▁ " + " nonadecagonal ▁ number ▁ : ▁ " ) ; Console . WriteLine ( center_nonadecagon_num ( n ) ) ; n = 7 ; Console . Write ( n + " th ▁ centered ▁ " + " nonadecagonal ▁ number ▁ : ▁ " ) ; Console . WriteLine ( center_nonadecagon_num ( n ) ) ; } }