Program to calculate the electricity bill

Assignment Help Programming Languages
Reference no: EM1351645

Q1) Write a program to calculate the electricity bill. The rates of electricity per unit are as follows:

1. If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.

2. If the units consumed are more than 100 and less than and equal to 300, then the cost is Rs 10/- per unit and surcharge of 5% of bill is added.

3. If the units consumed are more than 300 and less than and equal to 500, then the cost is Rs 12/- per unit and surcharge of 15% of bill is added.

4. If the units consumed are more than 500, then the cost is Rs 15/- per unit and surcharge of 25% of bill is added.

Reference no: EM1351645

Questions Cloud

Philosophical views of a school : There is a lot of research recently that talks about the different philosophical views of a junior high (i.e., subject, cognitive orientation) vs. a middle school (i.e., development based). What are your thoughts?
Investment in the proposed project : You are evaluating a proposed project. You find the DCF-NPV is -$50,000. However, by investing today, you think you might have a future growth option to expand but it would cost you an additional $100,000.
Explanation of independent contractor as oppose to employee : What are the factors the court looks at in determining whether a person is an independent contractor and are you an agent of the company? What constitutes an agent?
Explain how does his behavior look in the light of day : Explain How does his behavior look in the light of day and Aside from his legal obligations, did Ingersoll behave ethically
Program to calculate the electricity bill : Write a program to calculate the electricity bill. The rates of electricity per unit are as follows: If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.
What is the increase in temperature of the bullet : A horizontal desk surface measures 2.08 m x 1.73 m. If Earth's magnetic field has magnitude 0.495 mT and is directed 64.8° below horizontal, what is the magnetic flux through the desk surface.
Characteristics of the life-span perspective : Please describe the characteristics of the life-span perspective and help identifying all of the characteristics of the life-span perspective listed below, I have to write a paper and need as much information as possible
Description of employee benefits : Describe to management the primary strategic consideration involved in managing the proposed benefits program - Memo to upper management detailing the benefits available to employees in the position of a special education teacher
Explain oligopolies are always bad for society : Oligopolies are always bad for society. The beer industry has a few large firms and many small firms; therefore we would not call it an oligopoly.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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