Java [HELP]

Posts 113 of 13 · Page 1 of 1
Java [HELP]
Hi, anyone who expert in Object-Oriented Programming for Java?
I need help about this OOP. If someone who is willing to help me. Please let me know. I have a reward for those who can help me.
Thanks. ASAP.

I will send the project. (I really need help)
Quote Originally Posted by WeshAlors View Post
Send me PM
done.......
Add me on Skype: MPGH Iridescence
Fixed Skype Link
Why don't you post what you need help with on the forums so we don't have to add you for no reason
Recently you are hired as a programmer at Tenaga Nasional Berhad. You are required to write JAVA program that will calculate customer’s monthly electricity consumption. The charges for domestic customer’s bill is as follows:-

Units Cost
First 200 units 21.8 sen per unit
Over 200 units 25.8 sen per unit

The program should:
I. Ask user to enter account number
II. Read current meter reading
III. Read previous month’s meter reading
IV. Calculate amount consumed
V. Calculate amount to be paid
VI. Produce receipt
VII. Repeat the whole process until user select ‘N’
VIII. Produce report for All the customer (amount to be paid)

The interface of the system:


Please enter
Account Number : 48923 (user input)
Current meter reading : 22306 (user input)
Previous month’s meter reading : 22086 (user input)



Receipt:


Tenaga Nasional Berhad

Customer account number : 48923
Current meter reading : 22306
Previous month’s meter reading : 22086
Amount consumed : 220 units
Amount to be paid : RM 48.76

Do you want to continue for the next customer [Y/N] : N (user input)




The requirement:
i. Comments
ii. Selection control structure
iii. Repetition control structure
iv. Methods (at least TWO methods)
v. Objects and Classes (constructor and at least create ONE object)
vi. Array of Object



anyone ?
That's your homework nigga... break it down to a mathematical formula and then program it. It's easy as fuck
Quote Originally Posted by Dave84311 View Post
That's your homework nigga... break it down to a mathematical formula and then program it. It's easy as fuck
Yeah its my homework.. but i really need help.. i really dont know what i have to do...
guys, please guys.. I really need help.
????? BREAK IT DOWN TO MATHS THEN WRITE CODE THAT PLUGS IN INPUT INTO SAID FORMULA (AS A FUNCTION)

this isn't rocket science... it's basic computer science
@Ticherhaz

https://pastebin.com/s1eeXqAU
(it's in C#, Java is a generic version of C# so it shouldn't be hard to convert)

just wondering, what grade are you in? btw, next time you should tell us what a sen is, as I'm not Malaysian so it was a pain in the ass to figure out. If you need any more help try figure it out yourself, if you can't my skype is: ******f2461bb75d09343a
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?