how to create a program Digits in reverse | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to create a program Digits in reverse

how to create a program that will ask the user to enter a number and display the number in reverse order with soaces in between.Include a sensible input statement and an informative output Output: enter a number: 123456 digits in reverse: 6 5 4 3 2 1

7th Aug 2018, 11:36 AM
Reginald Tobias
Reginald Tobias - avatar
1 Answer
0
There are 2 important classes to acomplish your goal. Scanner and StringBuilder.
17th Aug 2018, 1:06 PM
Nabukodonozor31
Nabukodonozor31 - avatar