// stars1.cpp: using a function to print two rows of stars #include using namespace std; void print_stars(); //Function declaration int main() { print_stars(); //Function call cout << " hello" << endl; print_stars(); system("pause"); return 0; } void print_stars() //Function definition { cout << "*******" << endl; cout << "*******" << endl; }