func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     while (cin >> n) {       int y = 1;       for (; y <= n / 2 + 1; y++) {         for (int x = 1; x <= n; x++) {           if (x <= n / 2 + 1 - y || x >= n / 2 + 1 + y)             cout <<  * ;           else             cout <<  D ;         }         cout <<   n ;       }       for (y = n / 2; y > 0; y--) {         for (int x = 1; x <= n; x++) {           if (x <= n / 2 + 1 - y || x >= n / 2 + 1 + y)             cout <<  * ;           else             cout <<  D ;         }         cout <<   n ;       }       cout << endl;     }     return 0;   }   