#include<iostream>
#include<cstdlib>
#include<iomanip>
using namespace std;

int main(){
	unsigned int max = 0;
	const float a = 4.3, faktor = 3.6;
	double v=5.0, s=0, t=0;
	
	cout<<"Bitte maximalen Bremsweg eingeben: ";
	cin>>max;
	cout<<setw(15)<<"Geschwindigkeit"<<setw(20)<<"Zeit"<<setw(15)<<"Strecke"<<endl;
	do{
		s = (v/faktor)*(v/faktor)/(2*a);
		t=v/a/faktor;
		cout<<setw(15)<<v<<"km/h"<<setw(15)<<t<<"s"<<setw(15)<<s<<"m"<<endl;
		v+=5;
	} while(s<=max);
}

