Thread: Please help me understand this question on c++

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    19

    Please help me understand this question on c++

    hi everyone. i got class test today and i think this question is pretty messed up or am stupid and ignorant. i can write the program in my way but this question i cant understand. i dont need the coding, i just need some explanation. it goes like this

    (i) Write a piece of code to declare a function which will do the following:
    (a) return void
    (b) take as input parameters two arrays of integer values
    (c) take as output parameters the sum of these two arrays into a third array to calculate the average temperatures over the last 10 days.


    (ii) Write a piece of code to define an appropriate function for the above to do a sum of the corresponding values in the two input arrays.

    (iii) Write a piece of code to call the above function from the main function.

    I have written the question exactly how it was written in the question paper. Please explain this to me. thank you
    Last edited by darksifer; 04-14-2011 at 03:12 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. i dont understand this question i got.
    By cfrye1990 in forum C++ Programming
    Replies: 4
    Last Post: 09-26-2009, 08:40 PM
  2. Question i dont understand
    By muran_pling in forum C++ Programming
    Replies: 4
    Last Post: 06-03-2007, 06:22 AM
  3. I could not understand this question
    By enggabhinandan in forum C Programming
    Replies: 3
    Last Post: 10-22-2006, 05:17 AM
  4. Help me Understand (OpenGL Question)
    By Shamino in forum Game Programming
    Replies: 0
    Last Post: 05-06-2005, 05:29 AM
  5. To understand the question....
    By Forever82 in forum C++ Programming
    Replies: 1
    Last Post: 07-20-2003, 10:11 AM