Driver Code
static public void Main ( ) { int n = 5 ; Console . Write ( n + " th ▁ centered ▁ decagonal " + " number : ▁ " ) ; Console . WriteLine ( centereddecagonalnum ( n ) ) ; n = 9 ; Console . Write ( n + " th ▁ centered ▁ decagonal " + " number : ▁ " ) ; Console . WriteLine ( centereddecagonalnum ( n ) ) ; } }