вино
unknown
c_cpp
a year ago
267 B
3
Indexable
#include <iostream> #include <string> using namespace std; int main() { int a{126}, b; // или cin >> a,без разницы b = a % 10; cout << b; a /= 10; b = a % 10; cout << b; a /= 10; b = a % 10; cout << b; return 0; }
Editor is loading...