代码搜索:华氏温度
找到约 108 项符合「华氏温度」的源代码
代码结果 108
www.eeworm.com/read/11251/214641
c 2_06.c
/*【例2-6】输入2个整数lower和 upper,输出一张华氏-摄氏温度转换表,华氏温度的取值范围是[lower, upper],每次增加1°F。*/
/* 输出华氏-摄氏温度转换表,华氏温度取值[lower,upper],每次增加1°F */
#include
int main(void)
{
/* fahr表示华氏度, celsius为摄氏度
www.eeworm.com/read/316491/3611149
java tempconversion.java
public class TempConversion {
public static void main(String args[]){
int fahr,cels;
System.out.println("摄氏温度 华氏温度");
for (cels=10;cels
www.eeworm.com/read/127533/6004527
java temperature.java
package chapter1;
public class Temperature {
public static void main(String[] args) {
float fah = 86;
System.out.println(fah + "度的华氏温度相当于...");
fah = fah - 32;
www.eeworm.com/read/127533/6004541
java~1~ temperature.java~1~
package chapter1;
public class Temperature {
public static void main(String[] args) {
float fah = 86;
System.out.println(fah + "度的华氏温度相当于...");
fah = fah - 32;
www.eeworm.com/read/241771/13120977
c tc6-3.c
/*********************
tc6-3.c
温度转换
**********************/
#include "stdio.h"
main()
{
float c,f;
printf(" 温度转换\n\n");
printf("输入华氏温度:");
scanf("%f",&f);
c=5*(f-32)/9;
www.eeworm.com/read/146694/12619420
cpp ex01-08.cpp
//ex01-08.cpp
#include
#include
void main()
{ float C=25, F;
F = 9/5*C +32;;
cout
www.eeworm.com/read/133753/14027765
cpp ex01-08.cpp
//ex01-08.cpp
#include
#include
void main()
{ float C=25, F;
F = 9/5*C +32;;
cout
www.eeworm.com/read/235513/14069071
java celsiusconverter.java
//摄氏/华氏温度转换的完整程序清单(JB demo)
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
// This example demonstrates the use of JButton, JTextField
// and JLabel.
public class CelsiusCon
www.eeworm.com/read/370045/2787526
java convert.java
package chapter3;
public class Convert {
public static void main(String[] args) {
float c, f;
c = 23;
f = c * 9 / 5 + 32;
System.out.println("摄氏温度" + c + "相当于华氏温度" + f);
}
}
www.eeworm.com/read/411408/11246334
cpp 00014.cpp
/*
名称编号:00014
实现功能:函数运用华氏温度和摄氏温度的转换
运行结果:通过
*/
/*******************************************************/
#include
using namespace std;
float wendu(float,float); //头文件声明,也可以将函数写在主函数之