public class Main {
public static void main(String[] args) {
int tm=1;
double f;
double c =0;
do {
tm+=1;
c += 20;
f = (c * 9 / 5.0) + 32;
System.out.println("摄氏温度"+ c +"华氏温度" + f);
}while (tm<=10&&c<=250);
}
}