19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

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.

70 <strong>Computer</strong> <strong>Programming</strong> <strong>Concepts</strong> <strong>and</strong> <strong>Visual</strong> <strong>Basic</strong><br />

number of kilometers <strong>and</strong> meters. The number of centimeters should be displayed<br />

to one decimal place. Some of the needed formulas are as follows:<br />

total inches = 63360 * miles + 36 * yards + 12 * feet + inches<br />

total meters = total inches / 39.37<br />

kilometers = Int(meters / 1000)<br />

FIGURE 2-34 Sample Run for <strong>Programming</strong> Project 6

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

Saved successfully!

Ooh no, something went wrong!