[SOLVED] Android - Hydro-Bill-Calculator-Android-App

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

An Android app that will allow you to generate the bill amount of hydro consumption as follows.

• Ask the user to input On-peak usage, Off-peak usage and Mid-peak usage. All three inputs indicate usage in kWh having Double/Float values. You must show appropriate keyboard for all the inputs.

• Calculates the following charges when “Calculate Hydro” button is clicked and display it to the user as per shown in snap.

o The charges for on-peak usage is $0.132/kWh, for off-peak usage it is $0.065/kWh and for mid-peak usage it is $0.094/kWh.

o The total consumption charges are combined total of on-peak charges, off-peak charges and mid-peak charges.

o The HST is 13% of the total consumption charges.

o The provincial rebate(discount) is 8% of the total consumption charges.

o Total regulatory charges are HST – provincial rebate.

o The actual bill amount is total consumption charges + total regulatory charges.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.