/* This program writes a field of stars like the one on the USA flag. */ #include <iostream> using namespace std ; /* Prototypes */ void MakeSix() ; void MakeFive() ; int main() { int sectionNum ; for (sectionNum=1; sectionNum <= 4; sectionNum++) { MakeSix(); MakeFive(); } MakeSix() ; return 0; } void MakeSix() // make a six-star row for the USA flag { cout << "* * * * * *" << endl; } void MakeFive() // make a five-star row for the USA flag { cout << " * * * * *" << endl; }