分支結構之簡單if語句
#include <stdio.h>
int main()?
{ ? ? ??
? ? int height = 185;
? ? if( height>=180 ) ?//補全所有代碼
{ ??
? ? printf("%s\n","恭喜小明可以參加?;@球隊") ? ?
} ? ? ? ?
return 0;
}
為什么不對?
#include <stdio.h>
int main()?
{ ? ? ??
? ? int height = 185;
? ? if( height>=180 ) ?//補全所有代碼
{ ??
? ? printf("%s\n","恭喜小明可以參加?;@球隊") ? ?
} ? ? ? ?
return 0;
}
為什么不對?
2016-10-16
舉報
2016-10-16
printf 那個語句后面沒有分號
2016-10-19
如果你想輸出那一句話就是用這個的