Unformatted text preview: 2) Pointslope form (you know the line's slope and one point) => 2 Enter the slope=> 4.2 Enter the xy coordinates of the point separated by a space=>1 1 Pointslope form y – 1.00 = 4.20(x1.00) Slopeintercept form y = 4.20x – 3.20 Do another conversion (Y or N)=> Y 3. The electric company charges according to the following rate schedule: 9 cents per kilowatthour (kwh) for the first 300 kwh 8 cents per kwh for the next 300 kwh (up to 600 kwh) 6 cents per kwh for the next 400 kwh (up to 1000 kwh) 9 cents per kwh for all electricity used over 1000 kwh Write a function to compute the total charge for each customer. Write a main function to call the charge calculation function and should print out the ID no of customer, the total kilowatthours used and the total charges....
View
Full Document
 Spring '06
 Burney
 Energy, Dispensing

Click to edit the document details