Description
Part A: This question is to be submitted to the instructor in the form of a Word (or Open
Office) document containing the Java code and appropriate screen capture(s) of the output.
The file name must be in the form ASSIGN6A_YourName where ‘YourName’ is your last
name followed by your first name with no space. Upload the file to CMS.
Problem 6.25, page 240
Test the program with the values 5500, 100000, 62750, and 17891.
Problem 6.27, page 240
The program must use at least two methods – your choice.
Part B: Write code and test the solutions for the following problems from the textbook.
Submit the .java files for each question to CMS. The answers are due on November 10th and
the programs are to be demonstrated to the Teaching Assistant (Tim) by November 17th. He
will ask questions to make sure you understand the material. (HINT: If you demonstrate your
programs before the due date, Tim can give you an opportunity to fix errors and redemonstrate).
Problem 6.3, page 234
Make the program run in a continuous loop – terminating only when the user enters any
negative number.
Problem 6.17, page 238
Make the program run in a continuous loop – terminating only when the user enters 0.