plz.. some one do that for me .. before thursday :'(

write a program that reads a set of positive integers numbers into array x , and then reads another set of positive integer numbers into array y . for both arrays, the input is terminated by intering a negative number,the program then calls the following ;

a)the BOOLEAN function arr_equal which recves two arrays (x and y ) and returns equal if both are equal ;otherwise reuns false.a message is printed from the main function to indicate whether the two arrays (x and y) are equal or not .

b)the void function average_arr which prints the verage numbers(Avgx and Avgy) of both arrays x and y.

c)the void function sum_odd which returns through the reference parameter O the sum of all odd numbers in array x .
no, do it yourself
First try you assignments by yourself, then if you have problems ask for specific questions
http://www.cplusplus.com/forum/articles/1295/
Hello dude,
I hate to tell you this, but usually users read the rules before/after they register.


Don't post homework questions
Programmers are good at spotting homework questions; most of us have done them ourselves. Those questions are for you to work out, so that you will learn from the experience. It is OK to ask for hints, but not for entire solutions.


http://www.cplusplus.com/forum/beginner/1/
Topic archived. No new replies allowed.