Please program in MARS (MIPS Assembler and Runtime Simulator)[perferred] or C
1. Hard code the following array in your code
– 2,3,1,5,6,7,1,4,8,8
2.. Print Menu and ask the user to input the request
– Sort ascending
– Sort descending
– Calculate maximum
– Calculate minimum
– Find average
– Search a key
– Full report
– Exit
3. Print the output using a proper format. The outputs should be asbelow for any item in menu:
1. Sort ascending: The sorted array (ascending) is : 1 1 2 3 4 5 67 8 8
2. Sort descending: The sorted array (descending) is : 8 8 7 6 5 43 2 1 1
3. Calculate maximum: The
OR
OR