English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

write a program, called Celsius, that converts 45C to its equivalent Fehrenheit value and display result to th monitor. (F=9/5*C+32)
sample out put:
45 C= 113 F

2007-02-27 21:58:26 · 2 answers · asked by LULU 1 in Computers & Internet Programming & Design

2 answers

class convert{
public static void main(String[] arg){
double f;
f=9.0/5*45+32;
System.out.println("45 C = " + f+ " F");
}
}

2007-02-27 22:03:23 · answer #1 · answered by abd 5 · 1 0

Try
http://expert.myitcareer.org/

2007-02-28 06:01:22 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers