// This ugly program is func.cpp, for CS11 lab 3. // The purpose of this program is to get practice in tracing through // a program with all of its function calls, some of which look similar. #include void a(); void b(); void c(); void d(); int main() { a(); cout << endl; b(); cout << endl; c(); cout << endl; d(); return 0; } void a() { d(); cout << "a"; b(); } void b() { cout << "b"; d(); } void c() { a(); d(); cout << "c"; } void d() { cout << "d"; }