GAD225: HW3

Due Week 7!

Grab CalendarTester. Fill in the missing functions. There is a pretty good order to fill them in to make your code work with other parts of your code most conveniently, so try and make that happen by reading through all the functions you need first, and figuring out where dependencies lie.

Additionally, in a separate file, Allow the user to enter a number (called n). This is the length of an array for you to create, filled with random numbers between 0 and 2n.

Make functions to do the following:

  • Find the biggest number in the array
  • Find the smallest number in the array
  • Reverse the order of the numbers
  • Find the total of all the numbers
  • Find the Average of all the numbers
  • Extra Credit:  Sort the array, without using the built in sort.
Share and Enjoy:
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Twitter
  • Google Bookmarks
  • Fark
  • Google Buzz

Tags: , ,

Comments are closed.