0
Write program
What programming to solve this question (To get input of two or higher digit integer number and display in reverse order)
2 Respostas
+ 1
User input:
int number;
cin >> number;
Output: cout >>
https://www.sololearn.com/learn/CPlusPlus/1607/?ref=app
* while loop --> while number > 0
* inside while loop:
- print number % 10 //last digit
- number/=10 //remove last digit
+ 1
Thanks