public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner input=new Scanner(System.in);
Sanjiaoxing obj1=new Sanjiaoxing();
do{
System.out.println("第一条边为");
int a=input.nextInt();
System.out.println("第二条边为");
int b=input.nextInt();
System.out.println("第三条边为");
int c=input.nextInt();
String obj5=obj1.pangduan(a, b, c);
System.out.println(obj5);
System.out.println("继续吗(y/n)");
String d=input.next();
}while(d=="n");
System.out.println("谢谢使用2");
}
}
慕虎2321717
猛禽斩侧卫
相关分类