// function prototype void somestuff(); main() { BigSquarePair(); // Makes the windows somestuff(); cout << "Make the next quiz harder." << endl; PaintRect(200, 30, 250, 140); FrameOval(10, 100, 60, 200); DrawLine(300, 240, 100, 360); FrameCircle(320, 340, 40); PressReturn("Done!"); } void somestuff() { int x; int y; x = 25; y = 7; cout << "x = " << x << endl << "y = " << y << endl; cout << "x + y = " << x + y << " and x/y = " << x/y << endl; cout << "x - y * 3 - 10 = " << x - y * 3 - 10 << endl; }
2. What is the difference between the files warmup.mu and warmup.cp? Why do we need both? (The Greek letter "mu" is not yet available in HTML.)
Last Updated: September 28, 1997 11:04 am by