為什么這樣寫不顯示,x>y,x==y,else
function big(x,y){
? ? ? ? if(x>y){
? ? ? ? ? ? return x;
? ? ? ? }if else(x==y){
? ? ? ? ? ? return 0;
? ? ? ? }else{
? ? ? ? ? ? return y;
? ? ? ? }
? ? }
function big(x,y){
? ? ? ? if(x>y){
? ? ? ? ? ? return x;
? ? ? ? }if else(x==y){
? ? ? ? ? ? return 0;
? ? ? ? }else{
? ? ? ? ? ? return y;
? ? ? ? }
? ? }
2016-05-16
舉報
2016-05-17
if....else if....else...
2016-05-17
你沒有調(diào)用
2016-05-16
是 else if 不是if else ,你打錯了
2016-05-16
你需要顯示什么?