Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- unsigned long n,ogl=0;
- ogl=0;
- cout<<"n=";cin>>n;
- while (n)
- {
- ogl=ogl*10+n%10;
- n/=10;
- }
- cout<<"oglindit="<<ogl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement