#include
#include
int main()
{
int v;
double S, t, t1, tmpT,tmpT1,b,tmpT3;
std::cout << "V - km\h: ";<br> std::cin >> v;
std::cout << "\nS - km: ";<br> std::cin >> S;
std::cout << "\nT - hour: ";<br> std::cin >> t;
std::cout << "\nT1 - minut: ";<br> std::cin >> t1;
tmpT = S / v;
t -= tmpT;
tmpT3 = t - tmpT;
if (tmpT3 < t)
{
std::cout << "edem bez ostanovok" << std::endl; <br> system("pause");
exit(1);
}
tmpT1 = (t * 60) / t1;
b = (double)(int)tmpT1;
std::cout << "kol ostanovok: " << b << std::endl;<br> system("pause");
}