Question: 7.18zylab: Filter and Sort a List Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest
7.18zylab: Filter and Sort a List
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 -7 4 39 -6 12 2
the output is:
2 4 10 12 39
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
Get step-by-step solutions from verified subject matter experts
