|
From: Ray K. <kul...@wr...> - 2005-02-01 08:09:23
|
Perhaps you would learn more if you did your homework yourself? If you have a specific question, perhaps some people here might be willing to help, but we aren't going to do the assignment for you. On Mon, 31 Jan 2005 20:16:02 -0800, "Khaveta Singh" <kh...@ne...> wrote: > Kindly send C++ source codes on the following: > Design and develop storage for the hexagonal array of numbers depicted > in Figure 1 below. Write a program using the C programming language to > implement this data structure and to test (show) that it can store the > numbers 1 through 19 such that the sum of each column and each diagonal > equals 38. (It is not necessary for rows to sum to 38). > Further, you are to invent a notation to describe any element of the > hexagonal array and a direction along any diagonal or column. The > program must allow the user to use this notation to search for > elements/members of the structure. |