Results 1 to 7 of 7
  1. #1
    JavaSeth36 is offline Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    0

    Default Help me start up with Java

    hello, can you help me with this worksheet i am new to java programming


    Help me start up with Java-og5rp9a.jpg

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,535
    Blog Entries
    7
    Rep Power
    20

    Default Re: Help me start up with Java

    What have you tried yourself? We are not going to do your homework for you but we're willing to help you ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    AlexGraal is offline Señor Member
    Join Date
    Jan 2014
    Posts
    184
    Rep Power
    0

    Default Re: Help me start up with Java

    None of those are comp sci issues...those are all simple formulas and some annoying test and retest stuff like the first problem.

    As long as you know
    Java Code:
    Scanner scan = new Scanner(System.in);
    int i = scan.nextInt();
    String s= scan.nextLine();
    You shouldn't have any problems

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: Help me start up with Java

    That's the second time I see that stupid 'draw a letter with the letter' assignment. What moron came up with that one? Some old ascii-artist who wants people to feel how difficult his job was?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: Help me start up with Java

    *sigh* We are getting at the point where people post a picture of their homework in a forum. I must be getting old...
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013

  6. #6
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: Help me start up with Java

    As for assignment #10: that is a trick question. Unless you have to take the weight of the fuel into account, the amount of fuel put in a car does not contribute to the average fuel consumption for a trip. Otherwise you would like to see data such as the density of the fuel, the weight of the car, the altitude to calculate drag etc. Jos will probably know how to do this properly :)
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013

  7. #7
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,030
    Rep Power
    6

    Default Re: Help me start up with Java

    Apparently that assignment assumes that the car has no weight, is driving autonomous, all cars in the world have the same usage metrics, cars do not change their usage based on how fast you go, the road is horizontal and there is no wind at all.

    God I hate thoughtless assignments like that. If you must make it about math/physics at least specify clear boundaries.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 2
    Last Post: 11-25-2013, 11:40 AM
  2. New to Java where to start?
    By JeremyLilley in forum New To Java
    Replies: 3
    Last Post: 06-15-2011, 02:05 AM
  3. Replies: 1
    Last Post: 01-18-2011, 06:27 PM
  4. How to start Dr Java
    By satimis in forum New To Java
    Replies: 12
    Last Post: 06-28-2010, 04:33 AM
  5. Replies: 5
    Last Post: 03-20-2009, 10:04 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
  •