/* Name: Brennen Cox
Project: A2C2P2
Description: Help to solve to breaking speed over time.*/
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
double sec, velocity;
cout << "Press return after entering a answer.\n";
cout << "Enter in seconds how long the car has been braking.\n";
cin >> sec;
velocity = 283.7–(53.2*sec);
cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(3);
cout<< "After" << sec << "seconds of breaking, the velocity of the car is"<< velocity << "ft/s.\n";
}