The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
ISYS 350 Assignment 2
I could honestly use the help... I've been having a hard time formulating a code that will properly display the results I need.Â
Using MS Visual Studio 2015:
Â
An electric company charges customers based on Kilowatt-Hours (Kwh) used. The rules to compute the charge are:
           First 100 Kwh,                                                           20 cents per Kwh
           Each of the next 100 Kwh (up to 200 Kwh),        30 cents per Kwh
(the first 100 Kwh used is still charged at 20 cents each)
           Each of the next 200 Kwh (up to 400 Kwh)          45 cents per Kwh
           All KHwh over 400,                                                  60 cents per KH
Â
Create a C# Form with a textbox to enter Kwh used, a read-only textbox to display the electricity charges, and a button to compute the charges. The Kwh used could be a number with decimals.Â
Â
It should look like thisÂ
Â
Attachments: