Untitled
unknown
plain_text
2 years ago
282 B
9
Indexable
//домашка
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
if (a % 10 == 5)
{
cout << a * a;
}
else
{
cout << "This number does not end to 5. Enter a number ending in 5.";
}
return 0;
}Editor is loading...