imprimir la parte externa de un rombo de tamaño 11 en c++ con los terminos en español y completar el rombo con numeros consecutivos
#include <iostream> using namespace std; int main() { int n = 11; int i = n, j = 1; while (i != 0) { for (int w = i; w > 0; w--) cout << " "; int count = j; for (int k = 0; k < j; k++) { cout << count; if (k != j - 1) count++; else count--; } cout << endl; j += 2; i--; } int a = 1; int h = n - 1; while (h > 0) { for (int w = h; w > 0; w--) cout << " "; int count = a; for (int k = 0; k < a; k++) { cout << count; if (k != a - 1) count++; else count--; }