Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: Colin Mac ; Forum: Java and child forums
Forum: Java Feb 23rd, 2007
Replies: 5
Views: 1,808
Posted By Colin Mac
eg. If you declare a variable named total and make it = 0.
Each time going through a loop with this line of code;

total = total + price;

the total becomes equal to whatever value total has...
Forum: Java Feb 23rd, 2007
Replies: 5
Views: 1,808
Posted By Colin Mac
Sorry while(true) I meant there, not while(1).
Forum: Java Feb 23rd, 2007
Replies: 5
Views: 1,808
Posted By Colin Mac
You could
do away with the Do-while and instead use an infinite loop.

while(1)
{
print out menu, get choice

switch(choice)
{
Ask to quit in here, scan input and then break out of...
Forum: Java Jan 2nd, 2007
Replies: 3
Views: 1,320
Posted By Colin Mac
You can convert the Jar to an Exe, and run it then. Just google "Jar to Exe."
At least that's how I how I did it, perhaps there's an easier way.
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC