Question: Write a program that will take 7 integers from the user, store them in an array. Write three functions which takes the aforementioned array as

 Write a program that will take 7 integers from the user,

Write a program that will take 7 integers from the user, store them in an array. Write three functions which takes the aforementioned array as input and display them on the screen 1) in the order as they were entered, 2) in increasing order and 3) in the decreasing order. For instance if the input is: 13 -23 1 45 -2 16-5 then the call to the first function will display: 13-23 1 45 -2 16-5, call to the second function will display: -23 -5 -2 1 13 16 45 Finally, call to the 3rd function will display 45 16 13 1 -2 -5 -23

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!