Question: Write a C program that is capable to find the two largest and the two smallest integers in a list of 20 integers. The list

Write a C program that is capable to find the two largest and the two smallest integers in a list of 20 integers. The list of integers is in a file of two lines of 10 integers. Also i'm a beginner level programmer so please try to keep the code as simple as possible.comments in the program would be of great help. Try your program with these files to make sure it works properly: 

file1: https://dl.dropboxusercontent.com/u/18549820/projects/cps125/file1.data

file2: https://dl.dropboxusercontent.com/u/18549820/projects/cps125/file2.data

If for some reason you cant open the links, the numbers in each file are:

File1:

4 6 7 8 9 6 7 8 2 3 7 3 9 2 1 9 6 4 3 0 

File2:

-13 34 45 -22 88 17 121 77 23 -45 -43 66 34 -32 79 13 -29 67 22 119 

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!