// // Filename: pgm3_7a.cpp // // Description: 'Exact description of problem and the problem // number if applicable.' For example: 1.23) Write a // program that asks the user to enter two numbers, obtains // the two numbers from the user, and prints the sum, // product, difference, and quotient of the two numbers. // // ENSC 104: Digital Computer Programming // // Instructor: Dr. Walsh // // Section: 2 // // Date Created: 03/25/98 // Last Modified: 03/25/98 // // Name: N/A // #include void header( int homework = -1, int task = -1 ); main() { header( 14, 6 ); header( 14 ); header(); return 0; } void header( int hwk, int task ) { cout << "\n\nThomas R. Walsh\n"; cout << "ENSC 104: C++ Programming\n"; if ( hwk != -1 ) cout << "Homework # " << hwk << endl; if ( task != -1 ) cout << "Task # " << task << endl; return; }