为了账号安全,请及时绑定邮箱和手机立即绑定

各位大佬们帮我看一下哪儿有问题啊?谢谢了,在线等

#include <stdio.h>
int main()
{
    int sale=120; //销售业绩为120万
    int year=1; //刚刚进入公司1年
    //完善代码
    if(sale>100)
    {
        if(year>=2)
        {
            printf("%s\n","you'xiu'yuan'gong);
        }
    printf("%s\n","很遗憾,期望你再接再厉");

    }
    else
    {
          printf("%s\n","很遗憾,期望你再接再厉");
    }
   
   
   
   
    return 0;
}

下面是运行结果------------------------------------------------------------------------------

hello.c: In function 'main':
hello.c:11:27: warning: missing terminating " character [enabled by default]
             printf("%s\n","you'xiu'yuan'gong);
                           ^
hello.c:11:13: error: missing terminating " character
             printf("%s\n","you'xiu'yuan'gong);
             ^
hello.c:12:9: error: expected expression before '}' token
         }
         ^
hello.c:12:9: error: expected ';' before '}' token
hello.c:13:1: error: stray '\343' in program
    printf("%s\n","很遗憾,期望你再接再厉");
 ^
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\343' in program
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\343' in program
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\343' in program
hello.c:13:1: error: stray '\200' in program
hello.c:13:1: error: stray '\200' in program

正在回答

1 回答

应该是打中文的时候输入法没有切换回英文的模式。

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

各位大佬们帮我看一下哪儿有问题啊?谢谢了,在线等

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信