Question: I need the program in C language. Write a program that will filter a list of non-negative integers such that all duplicate values are removed.

I need the program in C language.
Write a program that will filter a list of non-negative integers such that all duplicate values are removed. Integer values will come from standard input (the keyboard) and will range in value from 0 up to 2, 147, 483, 647. Input will be terminated by the special value, -1. Once the input is read in you should output (to the screen) the list of numbers as a sorted list (smallest to largest) with one value listed per line where all duplicates have been removed. The primary difficulty with this program is that there are an enormous number of input values and an expected large number of duplicate numbers. A sample run of the program is displayed below: You may find it useful to use input/output redirection while testing your program so that you can have large input files. Recall that from the command line you can use the command: my_program.exe
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
