int a;
int b;
int c;
Scanner input = new Scanner (System.in);
//how to read three integers with white space delimiter
System.out.print("Enter the 3 edges of the triang
我有這個if-condition在我的代碼: if (a||a&&!b){
// do some stuff
}
與INTIAL值從我junit test: boolean a=true, b = true;
,我承認後來的聲明可以被簡化爲: if (a&&b)
變綠:Assert.assertTrue(a||a&&!b == a&&b); 我的問題是現在。是否有任何方法,工具,函