Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

*** Tee - Time *** C++ Writing Four data files (CAR1.DAT, CAR2.DAT, CAR3.DAT, an

ID: 3857272 • Letter: #

Question

*** Tee - Time ***

C++ Writing

Four data files (CAR1.DAT, CAR2.DAT, CAR3.DAT, and CAR4.DAT) are available on the instructor's web page. Each file contains track results for a test vehicle. The results are in the following format The test vehicle number (line 1) The test date (line 2) » The test driver (line 3) Time, t, in seconds and distance, x, in feet (one pair of (t,x) values per line for all other lines) As an example, the contents of CAR1.DAT are shown below: Test vehicle: Car #1 Test date: October 26, 2007 Driver: D. Myers 0.0 0.0 0.2 5.5 0.4 15.9 0.6 30.9 0.8 49.7 1.0 71.8 1.2 97.1 14 125.4 1.6 156.6 1.8190.4 2.0 226.6 2.2 265.3 2.4 306.1 2.6 348.9 2.8 393.5 3.0 439.9 3.2 488.0 3.4 537.7 3.6 588.8 3.8 641.2 4.0 694.6 4.2749.2 4.4 804.7 4.6 861.2 4.8 918.4 5.0 976.2

Explanation / Answer

1.

2.