Question: write a program that generate a report( bill) of utility using the folloing text file as an input.(the text file has: AcctNum, name, previous ,

write a program that generate a report( bill) of utility using the folloing text file as an input.(the text file has: AcctNum, name, previous , current). your out put should display the following information: under the title Account # - list of AcctNums, under the title Name -list of names , under the title Previous- list of previous; under the title Current - list of currets; under the title Charge - list of chages. Here is the calculation of charge: (prvious - current) *1,525. and ,at the last the total billed.

the text file:

111111 Fred Flintstone 123.4 234.5

222222 Barney Rubble 234.5 333.3

333333 Homer Simpson 345.6 1345.6

444444 Wile E Coyote 0.0 1.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!