+ 2

How to reverse number using Array?

Using C++

6th Dec 2018, 1:16 PM
Saad Saleem
Saad Saleem - avatar
11 Antworten
+ 2
Thank you i try in my PC its working .
7th Dec 2018, 10:11 AM
Saad Saleem
Saad Saleem - avatar
+ 1
The code of Nawrin seems legit to me and exactly doing what you asked in your question, reversing a number using an array
6th Dec 2018, 9:32 PM
bedawang
bedawang - avatar
+ 1
Then elaborate your question, Saad Mughal
7th Dec 2018, 5:01 AM
Nawrin Tabassum
0
Not understand can I get code?
6th Dec 2018, 1:41 PM
Saad Saleem
Saad Saleem - avatar
6th Dec 2018, 5:28 PM
Nawrin Tabassum
0
Hehehe the code is totally wrong watch the question again
6th Dec 2018, 7:44 PM
Saad Saleem
Saad Saleem - avatar
0
My question is To conver 54321 in to 12345 the output of nawrin code gives answer 73 .but if my question is wrong sorry for that
7th Dec 2018, 6:40 AM
Saad Saleem
Saad Saleem - avatar
0
Your question is right & my code does exactly what you asked for.If my code gives answer 73 for input 54321 then there must be some problem in your compiler. Because it works correctly for me.
7th Dec 2018, 9:38 AM
Nawrin Tabassum
0
The code you write can give answer 73 in solo learn compiler Run your upper code again and see the answer
7th Dec 2018, 10:02 AM
Saad Saleem
Saad Saleem - avatar
0
54321 gives 12345 too over here, strange things happening
7th Dec 2018, 4:38 PM
bedawang
bedawang - avatar