Question: PLEASE DO IN JAVA WITH COMMENTS THANKS FOR THE HELP! Jumbled Numbers /** Programming challenge description: In this challenge, you're given a string containing jumbled
PLEASE DO IN JAVA WITH COMMENTS THANKS FOR THE HELP!

Jumbled Numbers /** Programming challenge description: In this challenge, you're given a string containing jumbled letters from several concatenated words. Each word is a numeral from zero to nine. Each numeral may be used multiple times in the jumbled string. 1 import java.io.BufferedReader; 2 import java.io.IOException; 3 import java.io.InputStreamReader; 4 import java.nio.charset.Standardcharsets; 5 6 7 * The Main class implements an application that reads lines from the standard input 8 and prints them to the standard output. 9 */ 10 public class Main { 11 /** 12 * Iterate through each line of input. 13 */ 14 public static void main(String[] args) throws IOException { 15 InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8); 16 BufferedReader in = new BufferedReader(reader); 17 String line; 18 while ((line = in.readLine()) != null) { 19 System.out.println(line); 20 } 21 22 } 23 Write a program that returns integers corresponding to the numerals used to form the jumbled string. Integers must be sorted in ascending order. For example, reuonnoinfe are shuffled letters of the strings one four nine. Your program's output should be 149 } Input: A string formed from jumbled letters of numerals. For example: reuonnoinfe Output: A sequence of integers used to form the string in ascending order. For example: 149 Test 1 Test Input reuonnoinfe Expected Output 149 Test 2 Test Input oeisowufxrzohgiettr Expected Output 02468 Test 3 Test Input veiifogvweesotwnetnyfeheiot Expected Output 1225578 Test 4 Test Input xtneiootnrnoeneeeeuoecheetehounzoiu Expected Output 0011122333334444567788899
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
