Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: would someone be so kind to write the code for these programs? (school work, and I don't have time it's not a matter of not understanding) :)

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default would someone be so kind to write the code for these programs? (school work, and I don't have time it's not a matter of not understanding) :)

    Very simple programs, if anyone would be so kind haha

    1)Jennifer is training for an upcoming race. She uses her
    stop watch to check how many seconds she runs and a
    device which calculates how many meters she has run.
    Her aim is to run 100 meters in the race.
    Write a Java program called checkSpeed.java which
    does the following:
    1. Accepts minutes and meters as inputs.
    2. Prints out the speed (per second) which she is running.
    3. It also prints out how long, at the current speed, it
    would take her to finish 100 meters.
    sample output
    Enter meters run: 1645
    Enter time in seconds: 450
    RESULTS
    Your current speed is 3.65 meters per second.
    At this rate you will cover 100 meters in 27.39 seconds.

    2)Mr. Murphy wants a program that can accept a value in
    cms (centimeters) and print out its equivalent value in
    inches. Write a Java program called cmsToInches.java
    which performs this task for Mr. Murphy.
    sample output
    Enter value in cms: 4.5
    RESULT: 4.5 cms is 1.77 inches

    thanks


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: would someone be so kind to write the code for these programs? (school work, and I don't have time it's not a matter of not understanding) :)

    Sorry, this forum does not support academic dishonesty. Thread closed.

Similar Threads

  1. Hey Guys, first time seeing this kind of error? -
    By javapol in forum What's Wrong With My Code?
    Replies: 7
    Last Post: January 23rd, 2013, 04:33 PM
  2. Replies: 1
    Last Post: November 27th, 2012, 08:55 AM
  3. Please help me write two very simple programs
    By ibex333 in forum Java Theory & Questions
    Replies: 1
    Last Post: March 11th, 2012, 06:41 PM
  4. Having a hard time figuring out how to make my code work
    By iainnitro in forum Loops & Control Statements
    Replies: 2
    Last Post: September 6th, 2011, 08:48 AM
  5. Want to write good programs
    By dak2007 in forum Member Introductions
    Replies: 2
    Last Post: April 22nd, 2010, 05:21 PM