Вино
Anonymous
c_cpp
10/05/2023 7:28 PM
420 B
19
Indexable
#include <iostream>
#include <string>
using namespace std;
int main()
{
int a{126}, b;
cout << "Введите трёхзначное число: " << endl;
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...