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 01-31-2008, 06:34 AM
Member
 
Join Date: Jan 2008
Posts: 3
lalithalydia is on a distinguished road
Fahrenheit to celsius
Dear friends,

pls write me a program to convert the given temperature in fahrenheit to celsius using following conversion formula

f-32
C= ____
1.8

thanks,
lalitha
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-31-2008, 01:41 PM
jelly's Avatar
Member
 
Join Date: Jan 2008
Location: Somerset, UK
Posts: 46
jelly is on a distinguished road
That's not the way it works here. The idea is that you try to solve the problem and then people help when you get stuck. Try to code your solution, post what you have done and the problems you get and you will find people will help.
__________________
-- Hope that helps
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-02-2008, 09:42 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Lalitha, if you choose not to follow jelly's spectacular advice, what then is your purpose in programming? If you think getting others to solve your problem for you is the way it's done, you may want to choose another profession.
__________________

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
  #4 (permalink)  
Old 02-05-2008, 08:50 AM
Cnu Cnu is offline
Member
 
Join Date: Feb 2008
Posts: 13
Cnu is on a distinguished road
class F2C
{
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
System.out.println("Enter Farenheit");
int f=s.nextInt();

float c=(f-32)*1.8;
System.out.println("Celcius:"+c);
}
}
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
farenheit to celsius lalithalydia New To Java 2 02-02-2008 09:44 AM
Celsius Converter project jpdamigaman NetBeans 3 11-14-2007 01:20 AM
Converts from Fahrenheit to Celsius trill New To Java 1 08-06-2007 06:52 AM


All times are GMT +3. The time now is 04:24 AM.


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