Results 1 to 5 of 5

Thread: Get me started?

  1. #1
    neworlbush25 is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default Get me started?

    Hey, im pretty new to java and I just cant figure out how I should start out this assignment I have from my book.

    Create a sleep application that calcutates the number of hours of your life that you have spent sleeping. Assume that you sleep 8 hours each night. To simplify the problem, assume that there are 30 days in each month and 365 days in each year. The application output should look similar to:

    Enter your birthdate:
    Year: 1992
    Month: 6
    Day: 1
    Enter today's date:
    Year: 2009
    Month: 3
    Day: 24
    You have been alive for 5,634 days.
    You have slept for 45,072 hours


    If you dont want to help and know I just typed that from my book that is okay, im just asking for help on getting started on this.

    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    what have you got so far?

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Nevermind. You've cross-posted this question on multiple fora without showing a lick of work. Good luck getting help.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,404
    Rep Power
    20

    Default

    Thanks for the heads-up. I try never to help cross posters.

    db

  5. #5
    xbox_nutter is offline Member
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    0

    Default

    hey man i have some code to start you off if you still need it but you will have to add some stuff?

    email me if you still need it?

Similar Threads

  1. Getting started
    By hornsby in forum NetBeans
    Replies: 1
    Last Post: 03-12-2009, 07:47 AM
  2. getting started
    By ash in forum Advanced Java
    Replies: 1
    Last Post: 07-23-2008, 10:31 AM
  3. JSP Getting Started.
    By sukatoa in forum JavaServer Pages (JSP) and JSTL
    Replies: 7
    Last Post: 07-21-2008, 02:08 AM
  4. Getting Started
    By Doorsmaniac in forum Java Applets
    Replies: 0
    Last Post: 11-24-2007, 03:40 AM
  5. I need help getting started
    By Android in forum New To Java
    Replies: 2
    Last Post: 10-30-2007, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •