Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2008, 01:26 AM
Member
 
Join Date: Feb 2008
Posts: 2
xEuPhOrIcSx is on a distinguished road
Taking Java In School Need Help
Ok I am taking a Java class in my school required by the people in the math program and I need some help. Our first HW is too create a program that converts dog years into human years. Anyone wanna help me =x?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-01-2008, 03:16 AM
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 100
wsaryada is on a distinguished road
Well, can you tell us what you've done so far? and what problems are you facing with your homework?
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-01-2008, 03:22 AM
Member
 
Join Date: Feb 2008
Posts: 2
xEuPhOrIcSx is on a distinguished road
Well I came late to class today so I was not there for the explanation of how to write this code so basically I am at the very beginning. I have eclipse open I made a new project added a class and now I am staring at it clueless =(
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 02-02-2008, 10:01 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 840
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Let's try to solve this first without actually writing any code. What would be your strategy to logically solve this problem? Write it out - step by step - post it.

Welcome to the Forums.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 02-03-2008, 08:43 PM
geork's Avatar
Member
 
Join Date: Jan 2008
Posts: 14
geork is on a distinguished road
i'll give you a clue: you need to create 2 variables
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 02-04-2008, 06:14 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 840
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Quote:
Originally Posted by geork View Post
i'll give you a clue: you need to create 2 variables
geork, are you absolutely sure this is what the OP needs? How can we be sure he even knows how to code? Let's hear the strategy first before suggesting implementation possibilities.

OP, what is your strategy?

For starters, what is dog years? Something like every one human year is seven human years for a dog. Right or wrong? Let's hear it!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 02-04-2008, 06:20 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 840
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Quote:
Originally Posted by xEuPhOrIcSx View Post
...
I have eclipse open I made a new project added a class and now I am staring at it clueless =(
This is your problem - Do not depend on an IDE to write your code for you. Get a strategy first, then write the code.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 02-04-2008, 09:02 AM
Member
 
Join Date: Feb 2008
Posts: 7
ramapple is on a distinguished road
Quote:
Originally Posted by CaptainMorgan View Post
For starters, what is dog years? Something like every one human year is seven human years for a dog. Right or wrong? Let's hear it!
This is the ESSENTIAL. It will be what your code is based off of. From there, write an input of how many dog years there are, then convert that to human years and output that.

Like CaptainMorgan said, we can't code it for you if you don't know how to code. Hope it helps in some way!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Taking input from Properties File bugger New To Java 4 05-07-2008 10:30 AM
Taking passwords on the console eva Advanced Java 2 12-19-2007 10:28 AM
Beginner Needs Help w/ Program for School badness New To Java 2 11-24-2007 08:51 PM
Please help... assignment for school confused2000 New To Java 3 11-12-2007 09:12 AM
Taking input from console Java Tip Java Tips 0 11-05-2007 05:47 PM


All times are GMT +3. The time now is 02:39 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org