Untitled
//домашка #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; }
//домашка #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; }