Question: code in C. answer should look like the output in the picture. i can only use and Problem 1: Sorting You have to ask the
Problem 1: Sorting You have to ask the user to insert the amount of elements n he wants to store in the array A. Then, you have to ask for the values for the n elements. The user will input a sequence of sorted integer numbers. Your task is to create a program that sorts A but using the absolute values of its elements x. You have to print the new sorted array with the original values of A. Example: - 1=1 - 9=9 - 1=1 - 9=9 Constrains: 2n100 1000x1000 Insert the amount of elements for you array 6 Insert the elements of the array:-9 7 - 40506 Sorted matrix: 045679
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
