| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1352 人关注过本帖
标题:大家帮帮忙看看这程序哪里出错了?感谢~~~我是新手
取消只看楼主 加入收藏
当初zhen傻
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2010-11-2
结帖率:100%
收藏
已结贴  问题点数:20 回复次数:2 
大家帮帮忙看看这程序哪里出错了?感谢~~~我是新手
#include <stdio.h>
void main()
{
    float a;int A,B,C,D,E;
    printf ("please enter mark:");
        scanf ("%f",&a);
    if (a>=90) printf ("%d\n,A");
    else if(80=<a&&a<=89) printf("%d\n,B");
    else if(70=<a&&a<=79) printf("%d\n,C");
    else if(60=<a&&a<=69) prinf("%d\n,D");
    else printf("%d\n,E");
}


搜索更多相关主题的帖子: 感谢 
2010-11-02 22:54
当初zhen傻
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2010-11-2
收藏
得分:0 
回复 2楼 cacker
--------------------Configuration: 别人棒的 - Win32 Debug--------------------
Compiling...
别人棒的.c
e:\学习\j1001609\别人棒的.c(5) : error C2018: unknown character '0xa3'
e:\学习\j1001609\别人棒的.c(5) : error C2018: unknown character '0xbb'
e:\学习\j1001609\别人棒的.c(6) : error C2146: syntax error : missing ';' before identifier 'scanf'
e:\学习\j1001609\别人棒的.c(9) : error C2059: syntax error : '<'
e:\学习\j1001609\别人棒的.c(11) : error C2181: illegal else without matching if
e:\学习\j1001609\别人棒的.c(11) : error C2059: syntax error : '<'
e:\学习\j1001609\别人棒的.c(13) : error C2181: illegal else without matching if
e:\学习\j1001609\别人棒的.c(13) : error C2059: syntax error : '<'
e:\学习\j1001609\别人棒的.c(15) : error C2181: illegal else without matching if
Error executing cl.exe.

别人棒的.obj - 9 error(s), 0 warning(s)



怎么还有错误?
2010-11-03 11:27
当初zhen傻
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2010-11-2
收藏
得分:0 
回复 11楼 隐隐很作痛
haha哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈    对了
2010-11-03 11:36
快速回复:大家帮帮忙看看这程序哪里出错了?感谢~~~我是新手
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.012697 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved