# Java source code for supermarket billing system

Posted by Anonymous on

Hi,
A 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
The service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
Good luck!

Posted on Jan 02, 2017

SOURCE: source code

Posted on Sep 26, 2008

First think how you would solve this problem yourself on a piece of paper. Then try programming it using the things you learned (if they've given you this assignment without teaching you to multiply, subtract and use if's, drop the course).
Well here is an idea.

Take the total kilowattage and send it to a function. What the function will do is subtract 14KW from the total Kilowattage and add the amount for the first 14KW then subtract 85KW from the total KW and add the amount for the 85KW. But once you subtract the number of KW from the total make sure to check if the total KW isn't negative, if so just break out of the function and return the total due.

Or if you have formula for how much the rate grows over how many miles.

For example lets say the rate grows by \$1 every time the KW doubles you could have something like

int rate = 1; //Begining rate
int KW = 14; //First flat rate
int amount; //total amount they have to pay
while(totalKW > 0)
{
totalKW -= KW; //subtract the first rate
if(totalKW <= 0) //check if too much subtracted
break; //if so break
amount += rate; //add the rate to the total

rate += 1; // Add \$1 to the rate every time
KW *= 2; // KW is doubled
}

Posted on Jan 09, 2009

sir im student i want billing and database tables for online sales and inventory for departmental stores kindly provide me er diag n class diagrams also as soon as possible

Posted on Feb 21, 2009

Dear friend these websites are full of java source I hope they could help you:
www.java2s.com/
www.sun.com/software/opensource/java/
www.planet-source-code.com/
www.freejavaguide.com/javasource.htm

Good luck

Posted on Feb 24, 2009

Find it here: http://darnok.com/programming/face-recognition/

Posted on Mar 23, 2009

×

my-video-file.mp4

×

## Related Questions:

### I need a source code of a online examination in java

i believe you need an online test software java source code.
for this you should consult programming help sites. such as 1000projects.com , source code planet.com etc.

Nov 12, 2010 | Computers & Internet

### Domain service management system

I know some useful websites full of java source code,so I suggest you to check them, I hope they could help:
Good luck

Feb 24, 2009 | Computers & Internet

### Can u give me example of source code of filing system in java?

Dear friend these websites are full of java source I hope they could help you:
www.java2s.com/
www.sun.com/software/opensource/java/
www.planet-source-code.com/
www.freejavaguide.com/javasource.htm

Good luck

Feb 22, 2009 | Computers & Internet

### Java source code for supermarket billing system

sir im student i want billing and database tables for online sales and inventory for departmental stores kindly provide me er diag n class diagrams also as soon as possible

Feb 25, 2008 | Computers & Internet

## Open Questions:

#### Related Topics:

1,194 people viewed this question

Level 3 Expert

Level 3 Expert