From: "T.C. Lords" Newsgroups: comp.os.msdos.djgpp Subject: C++ newbie needs help Date: 10 Feb 1999 04:56:09 GMT Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Lines: 9 Message-ID: <01be54b1$a1c15860$86ab8dd0@tlords> NNTP-Posting-Host: 208.141.171.134 X-Trace: 918622569 1NBQXOG5MAB86D08DC usenet52.supernews.com X-Complaints-To: newsabuse AT remarQ DOT com X-Newsreader: Microsoft Internet News 4.70.1157 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have an assignment on multidimentional arrays. It is a 2 by 5 array that accepts array 1 A through E, and array 2 1 through 5. Each combination then has a specified value ( A1 = 35, A2 = 55...). I then need to calculate 100 - the value of A1 (35) if A1 is the cin, or 100 - A2 (55) if A2 is the cin and on and on. Unfortunately, the instructor gives us no examples. His direction is just, "If you want to do this then here is how." I need more than this, like a real code for how it's done. Then I can adapt the real to my needs. Can anyone help?