Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- long long int S,d, r, m;
- cin >> S >> d >> r >>m ;
- if (S >= d )
- cout << "drona";
- else if (S >= r )
- cout << "robot";
- else if (S >= m )
- cout << "masina";
- else
- cout << "nimic";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment