#include<iostream>
using namespace std;
int main()
{
int s, t, x;
cout << "Podaj droge: ";
cin >> s;
cout << "Podaj czas: ";
cin >> t;
x = s / t;
if (x == 90)
cout << "w sam raz" << endl;
else if (x > 90)
cout << "jedziesz za szybko" << endl;
else
cout << "jedziesz za wolno" << endl;
return 0;
}
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include<iostream>
using namespace std;
int main()
{
int s, t, x;
cout << "Podaj droge: ";
cin >> s;
cout << "Podaj czas: ";
cin >> t;
x = s / t;
if (x == 90)
cout << "w sam raz" << endl;
else if (x > 90)
cout << "jedziesz za szybko" << endl;
else
cout << "jedziesz za wolno" << endl;
return 0;
}