标签:ring char main oid png div span mamicode todo
package kl; public class aac { public static void main(String[] args) { // TODO Auto-generated method stub int a=2; int b=3; int c; c=a; a=b; b=c; System.out.println("a="+a +"b="+b); int d=957; int ge=d%10; int shi=d%100/10; int bai=d/100; System.out.println("各位数的和"+(ge+shi+bai)); float w=50f; System.out.println("华氏度转为摄氏度="+(w-32)*5/9); char g=‘B‘; System.out.println("转换小写字母为"+(char)(g+32)); } }
第一上机练习~~~~~~~~~~~~~~~~~~~~~~~~~~~~武汉一定要加油!!!
标签:ring char main oid png div span mamicode todo
原文地址:https://www.cnblogs.com/skyfail/p/12523170.html