That worked not sure why but my program works now. Thank you.
Type: Posts; User: Dragonkndr712
That worked not sure why but my program works now. Thank you.
Output expected is that in command prompt it will ask for the name and how kilowatts. It will then give the answer in the joptionpane. The first customer works fine but when the second time comes up...
Thank you for pointing out about kilowatt, you were right on that point but it still doesn't fix my problem. here is the new code, hopefully you can figure out where I am going wrong.
//import...
I am new to java and in this assignment I need to make a spot to enter the customer's name and amount of kilowatt usage. I need to do this for three people, the first time through it works fine but...