18.10.2014 Views

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>SIMSCRIPT</strong> <strong>II.5</strong> <strong>Programming</strong> <strong>Language</strong><br />

LOCAL.SALES.PERCAPITA<br />

for a given year and car<br />

LOCAL.GNP.PERCAPITA<br />

NOTE: Each point<br />

represents a county.<br />

for a given year<br />

SALES.GNP.RC<br />

PRICE<br />

NOTE: Each point<br />

represents a car.<br />

Figure 4-22. Display of Result Produced by Data Analysis Program<br />

Ensure that you understand the computations the program performs and the reason why the individual<br />

loops are written as they are. Rewrite the program to make it more efficient.<br />

180

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!