会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
三叶癌
上一页
1
2
3
4
5
2017年9月11日
2章7题
摘要: #include<iostream>using namespace std;int main(){int i,j,m,n;i=8;j=10;m=++i+j++;n=( ++i)+( ++j)+m;cout<<i<<'\t'<<j<<'\t'<<m<<'\t'<<n<<endl;return 0;}
阅读全文
posted @ 2017-09-11 21:05 三叶癌
阅读(87)
评论(1)
推荐(0)
2章6题
摘要: 1. 6 2. 15 3. 4 4. 11 5. 0 6.0
阅读全文
posted @ 2017-09-11 20:52 三叶癌
阅读(117)
评论(1)
推荐(0)
2章5题
摘要: 2章5题 1. 3.5*3+2*7-‘a’=-72.5 2. 26/3+34%3+2.5=11.5 3. 45/2+(int)3.14159/2=23 4. a=b=(c=a+=6)=9 5. a=3*5,a=b=3*2= 6. (int)(a+6.5)%2+(a=b=5)=6.5 7. x+a%3
阅读全文
posted @ 2017-09-11 20:49 三叶癌
阅读(256)
评论(1)
推荐(0)
1章10题
摘要: #include<iostream>using namespace std;int main(){ void sort(int x,int y,int z); int x,y,z; cin>>x>y>>z; sort(x,y,z); return 0;}void sort(int x,int y,i
阅读全文
posted @ 2017-09-11 20:26 三叶癌
阅读(82)
评论(1)
推荐(0)
1章7题
摘要: #include<iostream>using namespace std;int main(){int a,b,c;int f(int x,int y,int z);cin>>a>>b>>c;c=f(a,b,c);cout<<c<<endl;return 0;}int f(int x,int y,
阅读全文
posted @ 2017-09-11 20:26 三叶癌
阅读(76)
评论(1)
推荐(0)
上一页
1
2
3
4
5
导航
博客园
首页
新随笔
联系
订阅
管理
公告