show me how to write this array program in C

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • drea
    New Member
    • Feb 2008
    • 1

    show me how to write this array program in C

    Array_A
    9
    2
    0
    56
    3
    70
    18
    21
    22
    5

    Array_B
    8
    15
    99
    51
    16
    7
    11
    13
    40
    61

    Two unsorted integer array Array_A and Array_B above contains 20 positive integer values.
    (a) Implement a module called sort to sort the contents of the arrays.
    (b) Implement a module called merge that will take as arguments the two sorted arrays, merge them and place the results in another array integer Array_C, such that the integers in Array_C are in ascending order. Merge by comparing the contents of A and B one at a time and writing A or B depending on which comes first.
    (c) Implement a module called arraypointer, which will write the content of Array_C to the computer screen. This module must use pointer/s to array in order to accomplish the required task.
    (d) Write a code segment or a function which will write the contents of Array_C to a file called Array_C_content .
    (e) Implement the main module to run the program. Your main should have the following option:
    (i) Merge A and B
    (ii) Print the new merged array
    (iii) Write the new Array to file
    (iv) Exit the program

    please i really in need for some help cause it due end of this march,

    please n thanks......... .........

    email solution to me at <NO EMAIL - MODERATOR>
  • Laharl
    Recognized Expert Contributor
    • Sep 2007
    • 849

    #2
    Please post only one thread per problem. This allows the experts to avoid confusion with solutions at different phases of success. Also, do you realize how silly it is to post your email here for anyone with Google to see? You're just asking to get (more) spam. And, we (still) won't do your homework for you, as I said in the other thread.

    Comment

    • Ganon11
      Recognized Expert Specialist
      • Oct 2006
      • 3651

      #3
      As Laharl said, the experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

      Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

      Then when you are ready post a new question in this thread.

      MODERATOR

      Comment

      Working...