This preview shows page 1. Sign up to view the full content.
Unformatted text preview: cin >> sideLine; cout << endl << endl; cout << "Enter the length of the end line (in yards), and the press Enter: "; cin >> endLine; cout << endl << endl; totalDistance = sideLine + sideLine + endLine + endLine; cout << "The player will run " << totalDistance << " yards around the soccer pitch"; cout << endl << endl; return 0; } // end of main...
View Full Document
This note was uploaded on 02/08/2011 for the course CSC 101 taught by Professor Joedzuback during the Spring '11 term at Union County.
- Spring '11