public class demo05 {
public static void main(String[] args) {
System.out.println("攝氏度\t\t\t華氏度");
int sheshidu=0;
double huashi=0;
int tiaomu=0;
do {
System.out.println(sheshidu+"\t\t\t"+huashi);
tiaomu++;
sheshidu=sheshidu+20;
huashi=sheshidu*9/5.0+32;
}while (tiaomu<=10 && sheshidu<=250);
}
}