dibujar una bandera de colores rojo y amarillo con centro de la tierra
#include <iostream> using namespace std; void drawFlag() { for (int i = 0; i < 4; ++i) { cout << "yellow" << endl; } cout << "red" << endl; cout << "red" << endl; cout << "red" << endl; for (int i = 0; i < 4; ++i) { cout << "yellow" << endl; } } int main() { drawFlag(); return 0; }