求大佬指點(diǎn),哪出錯(cuò)了
#include <stdio.h>
int main()?
{
? ? int sale=120; //銷(xiāo)售業(yè)績(jī)?yōu)?20萬(wàn)
? ? int year=1; //剛剛進(jìn)入公司1年
? ? //完善代碼
? ? if(sale>100)
? ? {
? ? ? ? if(year>=2)
? ? ? ? {
? ? ? ? ? ? printf("%s","恭喜你,獲得員工獎(jiǎng)");
? ? ? ? }
? ? ? ? else
? ? ? ? {printf("%s","很遺憾,期望你再接再厲");
? ? }
? ? else
? ? {
? ? ? ? printf("%s","很遺憾,期望你再接再厲");
? ? }
2023-03-05
格式不對(duì),花括號(hào)少了,函數(shù)的格式對(duì)不上