Traditional Culture Encyclopedia - Tourist attractions - 关于Java 语言(一种计算机语言,尤用于创建网站)程序的操作题………小明要到美国去旅游,可是哪里的温度是以华氏度为单位记录的。他需要一个程...
关于Java 语言(一种计算机语言,尤用于创建网站)程序的操作题………小明要到美国去旅游,可是哪里的温度是以华氏度为单位记录的。他需要一个程...
class Test {
public static void main(String[]args)
{
system . out . print("请输入华氏温度:");
扫描仪输入=新扫描仪(system . in);
double Hua = in . next double();
双she=5/9.*(华-32);
system . out . println();
system . out . println("华氏度为:"+华);
system . out . printf("摄氏度为:%.2f ",她);
}
}
- Related articles
- What are the famous tourist attractions in Guizhou?
- College entrance examination geography high score answer template
- Guest tourist attractions
- Couples go out to travel, open two rooms, and travel alone when they meet. The purpose is simple.
- Which tourist attractions in Qinhuangdao do not require admission tickets?
- The best travel routes in Gannan
- The first person to paint inside.
- My partner and I are traveling to the South in August during the summer vacation. Looking for route guide?
- How did YCY perform in the first issue of The Great Wall?
- Beilun Four Seasons Osmanthus Garden