Task 7 simple games there are two games you will

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cture/m116/matrices/determinant.html void matrixInv(float mat, int n); This function takes in as input an array that represents a nxn square matrix, and then “inverts” it. The array itself is modified, so that it becomes the inverse of what it was before. Task 9 – Searching (Hacker’s Edition) int unique(int arr, int n) This function takes in an array that has length 2n- 1. The array contains every number in pairs, i.e. every number in the array occurs exactly twice, except one number. This function searches the array for this number that is unique in the array, and then returns that number. However, you may not create any new arrays in this function, only single variables....
View Full Document

This homework help was uploaded on 03/02/2014 for the course CS 200 taught by Professor Fareedzaffar during the Winter '11 term at Lahore University of Management Sciences.

Ask a homework question - tutors are online