第三题

package test;

public class hhh {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		int a=72,b=52,c,d;
		c=(a-32)*5/9;
		d=b*9/5+32;
		System.out.println("a的摄氏度为"+c);
		System.out.println("b的华氏度为"+d);

		
		
				
	}

}

  

 

posted @ 2020-03-19 12:04  来咬我啊20675  阅读(62)  评论(0)    收藏  举报