Search Results

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: ddanbe ; Forum: Java and child forums
Forum: Java Feb 13th, 2009
Replies: 15
Views: 607
Posted By ddanbe
If you add a multiple of 420 to 301 you get the next number.
So 7*420+301=3241 is a number that applies.
Forum: Java Feb 13th, 2009
Replies: 15
Views: 607
Posted By ddanbe
I also noticed you have not included a Read line, char, key, or something at the end. So it might be that all is happening but as soon as it does it disappears...
Forum: Java Feb 13th, 2009
Replies: 15
Views: 607
Posted By ddanbe
Forum: Java Feb 13th, 2009
Replies: 15
Views: 607
Posted By ddanbe
If in the while loop leave out the initialisation of number=0; it should work, now you are always testing zero.
Forum: Java Feb 7th, 2009
Replies: 15
Views: 647
Posted By ddanbe
The point of intersection : solve two linear equations in y and x
Forum: Java Feb 7th, 2009
Replies: 15
Views: 647
Posted By ddanbe
From what I see you already have this should not be so hard.
For instance if two lines are parralel they must have the same slopes, if they also share a point they must be collinear.
Forum: Java Feb 7th, 2009
Replies: 15
Views: 647
Posted By ddanbe
If you can OO compare cars it should be easy to compare lines.
What have you got so far?
EDIT: sorry this was just posted after yours...
Forum: Java Feb 4th, 2009
Replies: 9
Views: 1,055
Posted By ddanbe
The program wont crash, but as long as you don't type YES,Yes,yES etc. you will stay in the do...while loop.
Forum: Java Feb 2nd, 2009
Replies: 4
Views: 340
Posted By ddanbe
You would write it as 6.83783E-3
Forum: Java Jan 19th, 2009
Replies: 45
Views: 1,768
Posted By ddanbe
employeeName = input.nextLine(); <--here input of emp
{

// read value for hourly wage<--here hoursWorkedInWeek is not input and still=0.0
if...
Forum: Java Jan 19th, 2009
Replies: 45
Views: 1,768
Posted By ddanbe
Why is it that the only thing you input is an employeeName?
What about the rest where is that put in the programs variables?
Forum: Java Jan 19th, 2009
Replies: 45
Views: 1,768
Posted By ddanbe
A statement after a break statement is unreachable.
Forum: Java Jan 19th, 2009
Replies: 45
Views: 1,768
Posted By ddanbe
Come on guys calm down!
There is more than enough shooting in the world!
Be friends!
Make love!

At that moment hoursWorkedInWeek is equal to 0.0.
You told it to be 0.0 before entering the...
Showing results 1 to 13 of 13

 


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

©2003 - 2009 DaniWeb® LLC