This preview shows page 1. Sign up to view the full content.
Unformatted text preview: cin >> speed >> hour; interval= (speed*(hour-prevTime)); prevTime=hour; total =interval + total;} cout << total << " miles" << endl; cin >> n ;} }...
View Full Document
This note was uploaded on 05/03/2011 for the course CSCI 180 taught by Professor Goldwasser,m during the Fall '08 term at Saint Louis.
- Fall '08
- Data Structures