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

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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