Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
282 B
3
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;
}