Home | Notes | Languages | Programs | Homework |
Pascal Homework question |
ribone@VT.EDU
Thu, 12 Apr 2001 19:42:49 -0400
Message-ID: <0GBP0073EDVA4W@gkar.cc.vt.edu> Date: Thu, 12 Apr 2001 19:42:49 -0400 From: ribone@VT.EDU Subject: Pascal Homework question
I have a question regarding problem 2, which may be obvious to
answer, so please, bear with me...
Are we supposed to write that Pascal procedure assuming that
both arrays are always to be the same length? I know we're
supposed to try and add A to itself and store the result in A, as per
the text, but I was wondering about other invocations. It doesn't
make sense to try and add two arrays together that aren't the
same size, but the problem also doesn't specify what to do.
Thanks for any help that somebody might be able to offer on this
one.
Richard
Home | Notes | Languages | Programs | Homework |