Thread: Help with a program- I'm clueless

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    13

    Help with a program- I'm clueless

    Hey guys, I really need help with this program I am to write out, I don't even know where to start I just can't get my head around files no matter how much I study it. My notes aren;t that great either. Apparently its pretty basic stuff but I'm literally clueless.

    I was wondering if someone on here would be ever so kind and
    help me out somewhat with this program I am to write. I will be
    ever so grateful with any kind of help you may provide
    Code:
    Write a program that will give the user the following menu options;
    
    • Copy a file
    1. Calculate average emplyee wage
    Note: The program should be written using file & functions. Therefore if the user chooses option 1, a function called copyfile should be invoked. If the user chooses option 2, a function called averagewage should ne invoked. All the work involved in this program should be done in functions.
    1. If the user chooses option 1, they should be prompted for the name of the file to copy from. The user should then be asked for the name of the file to copy to and when the operation is finished, a message should be displayed to the user.
    1. If the user chooses option2, they should be asked for the name of thewage file that they wish to read from(assume the wage file containing an indefinite number of integer values,) The total of all wages in the file should be maintained and the average calculated.
    1. If the user chooses an invalid menu option, an appropriate message should be displayed.
    Last edited by godfrey270487; 03-23-2007 at 05:53 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM