Thread: urgent please help!!

  1. #1
    Registered User
    Join Date
    Mar 2009

    urgent please help!!

    this program is my project and got to submit it by next week .. people please help
    the program is to write a program which read 10 numbers from a file indata.txt, find the minimum and maximum value, and write the to out put file result.txt within a message.
    here is basic idea i have
    int minvalue(intv[]), maxvalue(intu[]);
    int main(void)
    int min,max,numbers[10]; data file into array..
    min = minvalue(numbers);
    max = maxvalue(numbers);
    ...print out result
    int minvalue (int nums[])
    find minimum, assign it to the int variable min..
    return min;
    int maxvalue (int nums[])
    find maximum, assign it to the int variable max
    return max;
    it has to be done in this format ... people please help i just a beginner i dont know how to do this.

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Rishon LeZion, Israel
    read forum guidelines
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    David J. Wheeler

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 09:42 PM
  2. beginner plzz help urgent
    By sara101 in forum C Programming
    Replies: 11
    Last Post: 01-14-2007, 10:38 PM
  3. Linked List Need Help Urgent
    By ykchua in forum C Programming
    Replies: 5
    Last Post: 08-17-2004, 02:57 PM

Tags for this Thread