Untitled
unknown
c_cpp
a year ago
218 B
4
Indexable
#include <iostream> using namespace std; void perevN(int N) { if (N < 10) { cout << N; return; } cout << N % 10; perevN(N / 10); } int main() { int N; cin >> N; perevN(N); return 0; }
Editor is loading...
Leave a Comment