ok well i just started with Java and i have an assignment that is giving me a hard time what i'm supposed to do is take an entry number(int) and then arrange its digits in an ascending and a descending way, the problem is i don't know much about arrays and i wouldn't know how to use them since i'm in an introductory course. Despite my lack of knowledge inside the arrays topic i figured out most of it and should be able to use bubble sort to make this happen the true issue i have is how to split the numbers so the array can arrange them. Most examples i've seen just take individual integers not a whole number and each of its digits.
All 2 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.