In-Class Assignment #11
For this assignment, you will write a brief Perl/Tk application.
For this application, write a small calculator. Create two text fields for the user
to enter two numbers. Between them, create four radio buttons, one each for
+, -, *, & /. Create a
label to display the result. Finally, create a button for the user to click
after entering the two numbers and choosing an operation. When the button is clicked,
your program will calculate the results and put the result into the label field.
For a bonus half-point, eliminate the button. Update the results label any time a value in the text fields or the operation radio button is changed.
Submission Instructions
To submit this program, you may either run ~lallip/public/submit.pl on
solaris.remote.cs.rpi.edu, or you may use
this submission form.
As always, you may submit infinite times, only the last submission is graded. Your final submission is due at 4pm today, Thursday, April 29, 2010.
