I have to write a program that reads in an integer and breaks it into a sequence of individual digits in reverse order. For example, the input 16384 is displayed as
You may assume that the input has no more than five digits and is not negative.
Define a class DigitExtractor:
public class DigitExtractor
Ok. What how am I suppose to write this? He wants a DigitExtractor.java file and a DigitExtractorTest.java file.
Where am I suppose to put the input code at? Help me once more. Thanks.
We have to use JOptionPane, so I guesss we import javax.swing.JOptionPane;
PLEASE Help! I'm still stuck and its due tomorrow!!!
0 · ·