|
|
|
|
val[NUMROWS*NUMCOLS], so you can use just one pair of brackets.| Still I would like to do what I stated above have 3 columns like I have and then change the values for the third column by plugging in values from first or second column into a equation and replacing the values in column 3. |
|
|
| the reason why I have two variables pi is because i was just testing to see how I can show the double value pi = 3.14 in the array or instead pi just as a char. |
val[1][1] = pi; or something? |
|
val[NUMROWS*NUMCOLS] and then making another array that has the results of the equations as the final column but that doesn't seem ideal.
|
|
|
|
|
|