Thursday, September 10, 2009

Lab 3

Three things to work on:

1) A program which gets in the speed (in mph) and time elapsed (in hours), and calculates and prints out the distance traveled.

2) A program which gets in the cost of an item as well as the percentage sales tax, and calculates and prints out the total cost of the item.

3) A program which will take in an initial deposit to a bank plus the annual effective interest rate per year, compounds that four three years, and calculates and prints out the future value of that deposit.


No comments:

Post a Comment