Due Monday October 16, 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 five 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) Bob's Widget Company sells "Super Widgets" to dealers at a rate of $15.00 each if less than 25 are ordered. If 25 or more are ordered, the price of each and every "Super Widget" is reduced by 50 cents. What is the total cost of 100 "Super Widgets"?
The generic algorithm should allow for changes in the $15.00 price and for purchases of any number of "Super Widgets". 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.