请教下各位,以下这道题看了好多遍,始终觉得应该是第五次iteration就会出现答案B的效果,为啥题目说是in the sixth iteration?英文不太好,求教了。谢谢!
After the value for code is read in the sixth iteration, which illustration of the program data vector is correct?
1---+----10---+----20---+----30 |
H Lettuce |
P Green Leaf Quality Growers |
P Iceberg Pleasant Farm |
P Romaine Quality Growers |
H Squash |
P Yellow Tasty Acres |
P Zucchini Pleasant Farm |
data perm.produce (drop=code); infile orders; retain Vegetable; input code $1. @; if code='H' then input @3 vegetable $6.; if code='P'; input @3 Variety : $10. @15 Supplier : $15.;run;proc print data=perm.produce;run;
a. |
| |||||||||||
b. |
| |||||||||||
c. |
| |||||||||||
d. |
|