Conformal Arrays
A Programming Pattern |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
double[]
with twelve elementsChoose the form that satisfies the following criteria:
int
values
Month | CPI | Unemp. | M2 | Confidence |
Jan | 247.867 | 4.5 | 13855.1 | Low |
Feb | 248.991 | 4.4 | 13841.2 | Low |
Mar | 249.554 | 4.1 | 14022.9 | Moderate |
Apr | 250.546 | 3.7 | 14064.4 | High |
May | 251.588 | 3.6 | 13984.6 | High |
Jun | 251.989 | 4.2 | 14079.2 | Moderate |
Jul | 252.006 | 4.1 | 14113.8 | Low |
Aug | 252.146 | 3.9 | 14170.3 | Moderate |
Sep | 252.439 | 3.6 | 14204.7 | Moderate |
Oct | 252.885 | 3.5 | 14211.6 | High |
Nov | 252.038 | 3.5 | 14272.8 | High |
Dec | 251.233 | 3.7 | 14473.0 | High |
double
values and
some would be String
valuesdouble
values and some would
contain nothing but String
values