输出语句为:System.out.printf("x的值为%f,y的值为%f", i,j);注意,float型定义的数据末尾必须 有"f "或"F",为了和double区别,例如:float x=123.456f,y=2e20f;
技术文章 / 下载软件趣味内容 / 专业带飞