摘要:
public class Calculater{ //加法方法 public Double add(double n1,double n2){ return n1+n2; } //减法方法 public Double sub(double n1,double n2){ return n1-n2; } 阅读全文
摘要:
public class Demo{ //判断是否是水仙花数的方法 public boolean isSN(){ //默认值为false boolean flag=false; Scanner sc=new Scanner(System.in); System.out.println("请输入一个三 阅读全文