Results 1 to 40 of 59

Thread: Help on Pointers project Please!

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2002
    Location
    Michigan
    Posts
    143

    Question Help on Pointers project Please!

    I have this project to do and I have no idea where to even start let alone do the dang thing. Heres the project:

    Objective: This program will consist of creating a program that will accept a list of integers from the user, perform operations on the list and return results to the user

    Specifics: The program should initially ask the user for a list of integers. The program should continuously request integers until the user inputs a negative number. Once the list is read in, the program should then present the user with a list of options. The options should include: input a new list, display the maximum, display the minimum, display the average, display the median, and exit. Once an operation is performed, the menu should be redisplayed.

    Requirements:
    • The integers must be stored in a dynamic array, which is initially 10 items in size and doubles each time more space is needed
    • The menu must be implemented with a switch statement; use default condition to handle menu error checking
    • Each case of the switch statement, except default, must call a function to process the operation
    • All function definitions must be placed after main, through the use of prototypes
    • Do not use global variables



    OMG, this thing is like impossible.
    Last edited by chugger93; Oct 1st, 2002 at 10:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width