Hey guys, I'm sorry to do this....i know ppl are not expected to do entire programs....but i really need these done asap!(before thursday!) . I'm in a bit of a tight situation....any help would be greatly appreciated. thanx

1) Write a function that accepts the lengths of three sides of a triangle and returns whether the triangle is right-angled or not.

2) Write a function, which given an integer Num, classifies it as ‘perfect’, ‘abundant’ or ‘deficient’. A number is perfect if the sum of its divisors (excluding the number itself) is equal to the number, e.g. 6. A number is abundant if the sum of its divisors (excluding the number itself) is greater than the number, e.g. 12. A number is deficient if it is neither perfect nor abundant.

3) Write a function, which accepts three arrays (integer type), two of these arrays contain sorted data which must be merged and placed in the third array. Assume that the third array contains enough empty locations to hold the data of both arrays.

4) Write a function which given an array of characters and the size of the array Max returns TRUE if the characters in the array form a palindrome (the same word spelt backwards and forwards, e.g. CIVIC) and FALSE otherwise.

5) Write a function, which accepts a number, Num and determines whether the number is prime or not.

6) Alex became bored one day and to break the monotony, he carried out an experiment with a row of mailboxes. These mailboxes were numbered 1 through 150 and beginning with mailbox 2, he opened the doors of all even-numbered mailboxes. Next beginning with mailbox 3, he went to every third mailbox, opening its door if it was closed and closing it if it was open. Then he repeated this procedure with every fourth mailbox, then every fifth mailbox, and so on. When he was finished he was surprised at the distribution of closed mailboxes. Write a program to determine which ones these were.

7) Write a function, which accepts an array and the number of items in the array and returns the location of the largest item in the array.

8) Write a function, which accepts an array and the number of items in the array and returns the largest item in an array.