search 登录 注册
arrow_back返回列表
ID:134625
light_mode
Lv.1 韶华一笑间
edit_note帖子 25
stars积分 16,610
event加入 2013-04-05
电脑网络

c语言,第四讲选择

schedule发表于 2014-08-25 12:42:00 visibility查看 479 chat_bubble回复 3
#1 楼主
视频相关1,算术运算符* 乘法/ 除法% 取模+ 加法- 减法2, 逻辑运算&& 逻辑与|| 逻辑或! 逻辑非3,关系运算符> 大于< 小于>= 大于等于<= 小于等于== 等于!= 不等于4,其他:++ 自增-- 自减= 赋值【教程代码】main(){int i;printf(“how old are you?\n“);scanf(“%d“,&i);if(i<18){printf(You minors);getch();}else{printf(“You are the adult“);getch();

全部回复 (3)

ID:146212
light_modedark_modedark_modedark_modestarstarstar
Lv.2 独赏二月雪
2014-08-25 12:43:00 沙发
呵呵
ID:123695
light_modedark_modedark_modestar
Lv.3 畅意三江水
2014-08-25 13:24:00 板凳
支持你
ID:115254
light_modedark_modestarstarstar
Lv.7 可吟七步诗
2014-08-25 23:00:00 地板
??
登录 后才能回复