COMP205 (2CS45) EXERCISE 1


MANIPULATING ARRAYS IN C

(Weeks 6 to 7)

(To be handed to Ms Williams in room 3.05A - remember to sign the "submission list" - by 9:30 on Monday 13 November 2000)

[Part 1] Using some appropriate formalism design/specify a program that takes as input two sets of integers, X and Y, and outputs (to the screen):

Thus given X = {4, 3, 1, 5, 0, 2}, and Y = {4, 7, 9, 5, 6, 8, 3}; then