為什么這個
#include
int main() { ? ?int sale=120; //銷售業(yè)績?yōu)?20萬 ? ?int year=1; //剛剛進入公司1年 ? ?//完善代碼 ? if(sale>100&&year>=2) ? ?printf("%s\n","優(yōu)秀"); ? ?else ? ?printf("%s\n","很遺憾,期望你再接再厲"); ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?return 0; }這不行嗎
2022-03-22
2015-04-07
#include后面的頭文件。
2015-02-09
if 后面的括號不加分號的!
2015-02-09
2015-01-30
#include "stdio.h"
int main()?
{ ? ?
int sale=120; //銷售業(yè)績?yōu)?20萬 ? ?
? ? int year=1; //剛剛進入公司1年 ? ? ?
if(sale>100&&year>=2) ? ?
printf("%s\n","優(yōu)秀"); ? ?
else ? ?printf("%s\n","很遺憾,期望你再接再厲"); ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
return 0; }