Due Dates:
Section 0201: Monday, October 16, at the beginning of class (Note: Due date modified 10/10/00)
Section 0601: Tuesday, October 10, at the beginning of class
Late homeworks will NOT be accepted. Make sure that you put your name and student id on your paper. If you have multiple sheets, staple them together.
Assignment:
The generic algorithm can assume that there will always be exactly four project grades. The grades should be retrieved from the user one at a time. The numeric average and corresponding letter grade should be displayed.
2) A manufacturer sells a certain article to dealers at a rate of $10.00 each if less than 20 are ordered. If 20 or more are ordered, the price of each and every article is reduced by 50 cents. What is the total cost of 100 units?
The generic algorithm should allow for changes in the $10.00 price and for purchases under 20 units. The algorithm should also allow for changes in the 50 cent reduced rate. All input should be retrieved from the user. The number of articles ordered and the total price should be displayed.