IN C# Given the following integer array:int[] intNumbers = new int[] {13, ‐42, ‐13, 1963, 0, 39, 42, 10, 1974, 3691, ‐17, 1226, ‐99};a) output all elements in the arrayb) output the first and last elements in the arrayc) output the given array in the order shownd) output the given array in reverse ordere) sort and output the array in ascending orderf) sort and output the array in descending orderg) output the value of the largest element in the arrayh) output the value of the smallest element in the array.
For this program, you should not assume that youknow the number of elements in the array.Remember the .Length property of the array willtell you how many there are. If you hard code 13 inyour program you will get an “R”.Hint: Console.WriteLine(intNumbers.Length);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here