G - Цифра
unknown
c_cpp
a year ago
201 B
9
Indexable
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if ('0' <= x && x <= '9') { cout << "YES"; } else { cout << "NO"; } return 0; }
Editor is loading...
Leave a Comment
#include <bits/stdc++.h> using namespace std; int main() { char x; cin >> x; if ('0' <= x && x <= '9') { cout << "YES"; } else { cout << "NO"; } return 0; }