Write a MPIS program that takes an array (input from user and can be arbitrary s
ID: 3673427 • Letter: W
Question
Write a MPIS program that takes an array (input from user and can be arbitrary size). It returns the sorted array using bubble sort, and print out the median, the number of positive integers, negative integers, and zeros in an array of integers. The last element of the array should have the value 0xF, which is not used for the calculations and not counted for the size. Display those numbers with appropriate message on the console output. For example, assume an array as follows: (Array1: .word 12, 2, -4, 16, 5, -20, 0, 10, 0xF)