摘要:
三角函数方法: Math 类中三角函数方法: 指数函数: 取整函数(返回都是双精度): Math.rint(2.1)返回2.0 Math.rint(-2.1)返回-2.0 Math.rint(2.5)返回2.0 Math.rint(2.6)返回3.0 Math.rint(1.5)返回2.0 4. r 阅读全文
摘要:
1 package test; 2 3 import java.util.Scanner; 4 5 public class Lottery { 6 7 public static void main(String[] args) { 8 // TODO Auto-generated method stub 9 10 int lo... 阅读全文
摘要:
1 package test; 2 3 import java.util.Scanner; 4 5 public class LeapYear { 6 7 public static void main(String[] args) { 8 // TODO Auto-generated method stub 9 10 Scann... 阅读全文
摘要:
1 package test2; 2 3 import java.util.Scanner; 4 5 public class ComputeAndInterpretBMI { 6 7 public static void main(String[] args) { 8 // TODO Auto-generated method stub 9 ... 阅读全文
摘要:
package test; import java.util.Scanner; public class ConvertCelsiusToFahrenheit extends ComputeChange { public static void main(String[] args) { // TODO Auto-generated method stub Scanner inp... 阅读全文
摘要:
1 package test2; 2 3 public class day01 { 4 5 public static void main(String[] args) { 6 // TODO Auto-generated method stub 7 8 System.out.println("hello world!"); 9 ... 阅读全文