Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
210 B
2
Indexable
Never
#include <iostream>
using namespace std;


int main()
{
    int a;
    cin >> a;
    int n1, n2, n3;
    n1 = a % 10;
    n2 =a/10%10;
    n3 = a / 100;

  
    cout << n1 << n2 << n3;

   
}