Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

COMP306 Final Exam Part II: Programming change calculator NAME 3:00PM. 4 27/2017

ID: 3827498 • Letter: C

Question

COMP306 Final Exam Part II: Programming change calculator NAME 3:00PM. 4 27/2017. Hard copies: hard copies of your code and screen shot by Source code: Submit zipped projects with results of screen shots to be closed at Dropbox ill Assignment. FinalExamProgramming before: 2:50PM. Total: 30 possible points. 2:50PM, 4/27/2017. No email submission. No late submissions! Description: background class I. Implement the class changes according to the given UML and use it as the 12 possible points. Write a JavaFX GUI application for a cashier of bookstore to calculate changes for a customer who algorithm our with no pays a greedy as display in errors. You can assume the change is less than s100 and greater or equals to 0 Figure 1 8 possible points III. Declare a member variable of Change type, add event handler, and put everything together and make it in cash work correctly: 10 possible points. otal changes a of $20 bills Details hanges of 10 a) The program shall let a user enter the amount of the changes of $5 bills. purchase in dollars, and the amount of cash paid by a of $1 the customer. a of quarters b) If the user clicks "Calculate Changes" button, your hangers. of dimes program will calculate and display the total amount of nickels of changes in a TextField (disabled for editing). It of pennies will also display the number of twenty-dollars bill Calculate Changes Reset Quit ten-dollars bill, five-dollars bill, one-dollar bill, number of quarters, number of dimes, number of nickels, and number of pennies for the changes in corresponding textboxes (disabled for editing). The result should be as displayed in the Figure 1. c) If the user clicks the "Reset" button, it clears all text Figure 2 fields to 0. d) Exception Handling (4 points deduction without it Catch the NumberFormat Exception in the event handler for the Calculate Changes button. If the user enters a non-number string, for example abc123, your program should display a message dialog similar to Figure2. (Hint: Use Alert class) abc123 has to be a number! For input string 'abc123

Explanation / Answer

The question is blank. I've waited for far too long, but the question has never come.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote