Question: Write a program that gets a list of integers from input, and outputs non - negative integers in ascending order ( lowest to highest )

Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest).
Ex: If the input is:
10-7439-6122
the output is:
24101239
For coding simplicity, follow every output value by a space. Do not end with newline.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!