Question: 8 . 1 7 LAB: Filter and sort a list Write a program that gets a list of integers from input, and outputs negative integers

8.17 LAB: Filter and sort a list
Write a program that gets a list of integers from input, and outputs negative integers in descending order (highest to lowest). Ex: If the input is:
10,-7,4,-39,-6,12,-2
the output is:
-2,-6,-7,-39
For coding simplicity, follow every output value by a space. Do not end with newline.
567468.3946988.q3zqy7
LAB
ACTIVITY
8.17.1: LAB: Filter and sort a list
010
 8.17 LAB: Filter and sort a list Write a program that

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 Databases Questions!