Design a solution algorithm to read the electricity usage

Assignment Help Software Engineering
Reference no: EM1379990

Question: An electricity supply authority records on an electricity usage document the value of electricity that each consumer uses. This document consists of:

- a header record (first record), which provides the total kilowatt hours used during the month by all customers
- a number of detail records, each containing the customer number, customer name and electricity usage (in kilowatt hours) for the month.

Design a solution algorithm that will read the electricity usage file and produce an electricity usage report showing the customer number, customer name, electricity usage and the amount owing. The amount owing is calculated at 11 cents for each kilowatt hour used, up to 200 hours, and 8 cents for each kilowatt hour used over 200 hours. The total electricity usage in kilowatt hours is also to be accumulated.

At the end of the program, compare the total electricity usage accumulated in the program with the value provided in the header record, and print an appropriate message if the totals are not equal.

 

Reference no: EM1379990

Questions Cloud

Identify key questions learned from our course to date : Identify key questions learned from our course to date that will test merit of your idea. Respond to at least two of your fellow students' postings.
The bonds have a current market value : A bond that has a 1000.00 par value as well as a contract interest rate of 11.7%. The bonds have a current market value of 1,125 as well as will mature in 10 years
What is reorder point if annual holding cost given : K-Pro Automotive Shop purchases 120,000 oil filters annually which are sold at an average of 400 per day over course of a year at its national retail outlets. If annual holding cost is fifty cents per filter also ordering cost is $75 per order, wh..
Explain about just-in-time inventory systems : Find a paper article online about just-in-time inventory systems. In the subject line of your post include the title of the article that you read.
Design a solution algorithm to read the electricity usage : An electricity supply authority records on an electricity usage document the value of electricity that each consumer uses.
What should standards be also how should they be enforced : Based on se implications, should enforceable labour standards (a social clause) be added to free trade agreements? If so, what should standards be also how should they be enforced.
What problems is this firm probable to encounter : What problems is this firm probable to encounter when it uses team selling? Hint- Utilize an Internet search to learn more about these kinds of firms.
Material cost to produce the devices is : Material cost to produce the devices is 40% of their prices. The company utilized ten workers who can produce an average of 30 and 50 devices of 1st and 2nd types per day.
Who wins tropical novelties demands : She calls Tropical Novelties, speaks with a sales representative, notifies seller that she is cancelling contract due to its non-performance

Reviews

Write a Review

Software Engineering Questions & Answers

  Difference between encapsulation and information hiding

Discuss and explain the difference between encapsulation and information hiding. In addition, describe the role both of these concepts play in helping to make designs more robust and extensible.

  Create an employee class

Create an Employee class that has fields for the given pieces of data, Also create a class named ProductionWorker that extends the Employee class.

  End users must be involved in database design in a limit

End users must be involved in database design, but only to  degree. What are you are your toughts do you agree or did agree why or why not.

  Use ishikawa diagram to investigate causes of problem

A restaurant is not doing well. It is doing poorly as customer patronage is low. Use Ishikawa diagram to investigate the causes of the problem.

  Draw erd to show attributes of student

Draw and ERD for this situation. What attribute or attributes did you designate as the identifier for the STUDENT entity? Why?

  Draw flowchart-write pseudocode to represent logic

Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter three values.

  Explain importance of osi reference model

Discuss the importance of the OSI reference model for those responsible for network administration and network protocol development.

  Sketch diagram displaying how message-application-layer

Sketch a diagram displaying how message gets from Alice's host to Bob's host. Ensure to list series of application-layer protocols which are used to move message between two hosts.

  Assembly language programming code for 8086

Change any binary number found in register AX to equivalent ASCII code for each hexadecimal nibble in AX.

  Write z schemas defining state of atm operation system

Using your knowledge of ATM operation, write Z schemas defining the state of the system, card validation (where the user's identifier is checked) and cash withdrawal.

  Explain basic tools used by project manager

Explain the basic tools used by a project manager. Relate these tools to applications like Excel, MS project, and other packages which are used to automate project management processes.

  Draw a class diagram of structure of monitoring station

Printer, on which the readings from these three sensors are shown. Readings are taken checkpoint. Draw a class diagram summarizing the structure of the monitoring station.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd