Untitled
unknown
plain_text
2 years ago
413 B
8
Indexable
// домашка про белку,орехи и естественный отбор.
#include <iostream>
using namespace std;
int main()
{
int n;
int m;
int k;
cin >> n;
cin >> m;
cin >> k;
if (k > n * m)
{
cout << "The squirrel is unlikely to survive.";
}
if (k <= n * m)
{
cout << "The squirrel survived.";
}
return 0;
}Editor is loading...