This preview shows page 1. Sign up to view the full content.
Unformatted text preview: trackIn >> sideLine; trackIn >> endLine; cout << endl << endl; totalDistance = sideLine + sideLine + endLine + endLine; cout << "With a side line of " << sideLine << " yards," << " and an end line of "; cout << endLine << " yards," << endl; cout << "the player will run " << totalDistance << " yards around the soccer pitch"; cout << endl << endl; TrakData << sideLine <<endl; TrakData << endLine <<endl; trackIn.close(); TrakData.close(); 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