Homework Assignment 4 Solutions
Solutions:
- Program 2.29 from the text: Given two points on a line, return
the equation for the line in the form
Ax + By + C = 0
.
Solution
- Program 3.24 from the text: Calculate the best price for an order
of n bagels, where bagels are priced 0.50 each, 2.60 the half
dozen and 3.80 for a bakers dozen of 13 bagels.
Solution
- Program 3.25 from the text: Calculate payments for a loan.
Solution
- Program 4.26 from the text: Write a program to determine
tax liability from a tax table.
Solution