An electricity supply authority records on an electricity

Assignment Help Database Management System
Reference no: EM13945485

An electricity supply authority records on an electricity usage file the amount of electricity that each customer uses. This file 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: EM13945485

Questions Cloud

Find and display the total owed for all taxpayers : Exit the program (If the user choices 4, the program will exit. If the user chooses 1, 2 or 3, the program will do what the menu item says it will do, and then the menu will appear again.
Use simultaneous equations to determine theoptimal : Use simultaneous equations to determine theoptimal values of the decision variables.
Balance in the pbo to change : What are some events that may cause the balance in the PBO to change
Why statistical analysis is used in criminal justice : Evaluate why statistical analysis is used in Criminal Justice/Security Management research, Evaluating sources (references) for Criminal Justice/Security Management research and Evaluate ethical research concerns as it applies to Criminal Justice/Sec..
An electricity supply authority records on an electricity : 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.
Cost of goods sold and total dollar amount : Calculate the total dollar amount of cost of goods sold and total dollar amount of ending inventory for October assuming FIFO is used
The leadership opportunities in these organizations : Choose two professional organizations :- American Nurse Association and International Council of Nurses Create a table comparing the two organizations.
Develop a media presentation : Students will develop a power point media presentation. Presentation will require researching a module specific topic. For this activity you will research the four categories of reciprocating engines. In your presentation address the following:
Which do you consider to be the easiest to avoid or fix : Monroe and Cox provide eight pricing practices of companies that have a negative effect on profitability. Which do you consider to be the easiest to avoid or fix?

Reviews

Write a Review

Database Management System Questions & Answers

  How much indirect factory wages and factory equipment

How much indirect factory wages and factory equipment depreciation cost would be assigned to the Customer Orders activity cost pool

  Draw dfd for placing order based on the e-r diagram

Draw a DFD (Context and Level 1) for placing an order based on the E-R diagram shown here.

  Effect of stunting growth later in life

Several male athletes have reported having growth spurts well into their college years. Why is this phenomenon more likely for males then females?

  1 give syntax example for each of the following group

1. give syntax example for each of the following group functionsavgsumminmaxcountdistinctstddevvariance2. provide 2

  Write about the history of databases

Write a 1-paragraph summary of what you plan to discuss in your paper. Your instructor will read your proposal and either approve it or suggest that you select another topic. If your topic is not approved, you will have 2 calendar days to resubmit..

  Examine the common threats to data systems like web

suppose that you are currently employed as an information security manager for a medium-sized software development and

  Draw a use case diagram for the carpark system

Draw the class diagram which covers all the situations described in the carpark system, showing inheritance, association (aggregation and composition as necessary) and multiplicity. Include all attributes and operations/methods.

  Draw the hash table containing the hash structure

We keep inserting 82 and 89 into the hash table. Draw the table to refl the new values. Be sure to indicate the number of bits used during hashing.

  Describe seperation between users and database administrator

describe seperation between users and database administrators

  Briefly describe how a cross-site scripting attack

Briefly describe how a cross-site scripting attack can be used to compromise the confidentiality of information stored in a database

  Implement the query find total number of orders submitted

Find the total number of orders submitted in 2015. List all distinct customer IDs (O_C_ID) who submitted the largest number of orders in 2014. Find the total number if orders submitted by each customer.

  Create database using professional principles and standards

Your database project must meet the following assessment requirements - Create a database using professional principles and standards.

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