You are asked to write a program that calculates your electric bill. You are to input the numberof kilo-watt hours (kWh) used in a 31 day billing period. Electricity costs 6.72 cents per kWh; atax of 8% should be added. Write a program that accepts the number of kilo-watt hours usedand prints a bill.Sample Run:Please enter the kilo watt hours over 31 days: 412Electric bill for a 31 days period is as follows:Number of Kilo Watt hours: 412.0Amount: $27.6864 Tax: $2.214912Total: $29.901311999999997
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here