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 4 of 4

Thread: Conversion of the temperature degree

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

    Default Conversion of the temperature degree

    a. Write a Java class (program) that reads from the user the temperature in degrees Celsius as a real number. Then calculates and prints the equivalent temperature in degrees Fahrenheit (rounded to 1 decimal place).

    b. Give the exact output of your program. Provide a snapshot representing the exact output of any value from your choice.

    Hint:
    Fahrenheit=(9/5) * (Celsius) + 32
    The snapshot is of the netbeans


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Conversion of the temperature degree

    Do you have any specific questions about your assignment?
    Please post your code and any questions about problems you are having.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    May 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Conversion of the temperature degree

    if i want the answer where can I place the code?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Conversion of the temperature degree

    Copy the full text and Post it on the forum.
    Be sure to wrap your code with code tags:
    [code=java]
    <YOUR CODE HERE>
    [/code]
    to get highlighting and preserve formatting.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Simple Java Code Help--- temperature conversion using while loop
    By Idiot_willing_to_learn in forum What's Wrong With My Code?
    Replies: 3
    Last Post: February 26th, 2013, 11:33 AM
  2. Replies: 1
    Last Post: January 10th, 2013, 11:45 PM
  3. I want a much programming degree.
    By Mar5000k in forum The Cafe
    Replies: 0
    Last Post: January 6th, 2013, 09:43 AM
  4. Question about methods, temperature conversion program
    By aivory616 in forum What's Wrong With My Code?
    Replies: 10
    Last Post: November 23rd, 2012, 01:27 PM
  5. Temperature Conversion Chart
    By cb12991 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: November 8th, 2012, 12:11 AM