Untitled
Anonymous
plain_text
10/12/2023 3:05 PM
552 B
17
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...