Question: Attached Files Electricity Solution.zip (197.882 KB) This assignment is Exercise 1 on page 420 with an extension. Please begin by downloading the Electricity Solution file
Attached Files Electricity Solution.zip (197.882 KB) This assignment is Exercise 1 on page 420 with an extension. Please begin by downloading the Electricity Solution file attached to this assignment. Unzip the folder and then apply the modifications listed in the problem After you have completed that, you may do the following extra credit. Add a button to the application called "Add Year" When that button is pressed you must APPEND (not re-write) the following monthly bills (one per line) to monthlyBills.txt. 10.25, 15.50, 20.75, 25.00, 30.25, 35.50, 40.75, 45.00, 50.25, 55.50, 60.75, 65.00 When the calculate button is pressed, you must total the 24 monthly bills, calculate their average and display the average. (note: you must modify the calculate button code to now use 24 months instead of 12 to calculate the average. Attached Files Electricity Solution.zip (197.882 KB) This assignment is Exercise 1 on page 420 with an extension. Please begin by downloading the Electricity Solution file attached to this assignment. Unzip the folder and then apply the modifications listed in the problem After you have completed that, you may do the following extra credit. Add a button to the application called "Add Year" When that button is pressed you must APPEND (not re-write) the following monthly bills (one per line) to monthlyBills.txt. 10.25, 15.50, 20.75, 25.00, 30.25, 35.50, 40.75, 45.00, 50.25, 55.50, 60.75, 65.00 When the calculate button is pressed, you must total the 24 monthly bills, calculate their average and display the average. (note: you must modify the calculate button code to now use 24 months instead of 12 to calculate the average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
