TCP3151: Integrative Programming and Technologies Assignment, MMU, Malaysia Create a JNI program to calculate the electricity bill. The Java main program will request the user to provide the total electricity
| University | Multimedia University (MMU) |
| Subject | TCP3151: Integrative Programming and Technologies |
Question 1
Create a JNI program to calculate the electricity bill. The Java main program will request the user to provide the total electricity consumption (kWh) and total water consumption (m³).
- First native method:
i) Input: Total electricity consumption (kWh)
ii) Calculate the electricity bill based on the table below:

- Second native method:
i) Input: Total water consumption (m³).
ii) Calculate the water bill based on the table below:

- Java’s main function invokes the first and native method, displays the electricity and water bill amount respectively, and calculates the total amount need to pay for the electricity and water.
- A bonus will be given if students provide an additional feature that is attractive and useful.
Get Help By Expert
Assignmenthelper.my offers online thesis help of the highest quality, so you never have to worry about your thesis again! Our thesis service is reliable and streamlined, so you can be assured that your thesis will be composed quickly and efficiently delivered. With our team of professional assignment writers and researchers, we guarantee that you'll get excellent results on time.
Recent Solved Questions
- Select any one of Malaysia’s public listed firms from the sector of construction/plantation/ property only: Finance Assignment, AUTI, Malaysia
- Computer Science Data Structure Assignment, UKM, Malaysia In a small town far away, a young man dreamed of one day making it big in finance. He didn’t have much to his name
- Bachelor of Economics Assignment, HU, Malaysia Students are required to look through the given articles in HLMS and choose one of the topics which they are comfortable
- Management Accounting Individual Assignment Malaysia
- Diploma in Early Childhood Education Report, OUM, Malaysia A detailed explanation of what is ‘Child Development Issues’ Detailed explanation to show statistics of Child abuse cases in Malaysia
- Marketing Innovation Assignment, HWU, Malaysia Discuss the application of the BCG Model on the current business product. Explain the basic requirements
- MPMM7113: You have a friend named David who is a passionate environmentalist and runs a small eco-friendly products store: Davideting Management Assignment 2, CUM, Malaysia
- LAW201: Company Law Assignment, HU, Malaysia The landmark company law case of Saloman v Saloman & Co Ltd held that Mr Saloman the founder of the company
- MPU3412: Discuss the following topic in the forum and submit proof of your participation in the online discussions: Community Service Assignment, OUM, Malaysia
- Data Mining Case Study, UOM, Malaysia- Choose any dataset and present the comparative analysis between clustering and association analysis, keeping in mind all the stages of SEMMA