I will mark brainliest to those who give me the correct answer also i will follow him/her
Q2) Design a class called Electric_Bill with following instance variable
Instance variable
String Name
int units
Int bill
Methods
Electric_biil() – Default constructor
Void input() – Input name and units consumed by customer
Void calculate()
Units Rate
First 100 units 5/-
Next 200 units 10/-
Next 200 Units 12/-
Above 500 units 15/-
Void print()
Print name ,units and bill to be paid by customer
plz give code not method :>
Answers
Answered by
1
Answer:
mark it as brainliest first
Explanation:
okay
Answered by
3
Answer:
Hi....plss mark as brainlist and follow me dear plsssssssssssssss anyways I am anu dear I can help if u do this....plss thank my some answers. ...
Similar questions