Untitled
unknown
plain_text
a year ago
259 B
1
Indexable
Never
#include <iostream> using namespace std; int main() { int a; cin >> a; int b = a % 10; int c = (a / 10) % 10; int d = (a / 100) % 10; if (a >= 100) { cout << b << c << d << endl; } else if (a < 100 || a >= 10) { cout << b << c << endl; } }