Step 15This program uses two arrays, called g and h, shown below. Program 15-1Write a program which puts 3 in the first 3 elements of array g
(that is, g[0], g[1] and g[2] ) then totals them and stores the
result in h[0] |
|
|
| Index: | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| g: | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 |
| h: | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 | a0 |