Computer Science, asked by tinkertweet, 1 year ago

I am in class 9 icse and urgently need the solution of the following bluej program:
Write a program which takes the number of units consumed by a consumer and calculates the bill.The condition to calculate bill is:
Rupees 350 fixed for rent
No amount for first 100 units
rupees 1.90 per unit for next100 units
rupees 2.90 per unit for next 50 units
rupees 3.90 per unit for remaining units
Please give the solution immediately!


tinkertweet: actually i dont know java completely..so pls write in bluej
tinkertweet: there is a littlte difference between java and bluej
tinkertweet: fine...pls give the program in java
vikas786: What
TPS: bluej is not a language
tinkertweet: okk
vikas786: Oh
vikas786: So what is it
lfstone3: It is an ide specially for young learners of java programming language.
lfstone3: And ide is a software used for developing programs in before using them u need to setup an environment in ur pc.

Answers

Answered by TPS
2
see the attachment...copy the code.
Attachments:
Similar questions