- 博客(8)
- 收藏
- 关注
原创 课程设计
#include #include #include #include using namespace std; #define MaxSize 100 struct student { int num; char nam[20]; float chinese; float math;
2014-06-21 13:00:35
538
1
原创 第五章作业
/********************************************* *功能:函数的使用,对两个数取大 * * * *********************************************/ #include using namespace st
2014-05-02 09:37:06
543
1
原创 第四章作业
/********************************* * 程序名:p5-2.cpp * * 功 能:数组应用——冒泡程序 * *********************************/ #include using namespace std; int main() { const int MaxN=5; int n,a[M
2014-04-28 19:12:54
573
1
原创 第三章作业
/************************************* * * * 功能:求解百钱百鸡问题 * *************************************/ #include using namespace std; int main () { const int
2014-04-01 23:24:51
586
2
原创 第二周作业2
#include #include using namespace std; int main() { float a,b,c,p,S,C; cout<<"请输入三角形的三边:"; cin>>a>>b>>c; C=a+b+c; #include #include using namespace std; int main() {
2014-03-24 19:22:27
527
2
原创 第二周作业2
习题3#include #include using namespace std; int main() { int e=1,f=4,g=2; float m=10.5,n=4.0,k; k=(e+f)/g+sqrt((double)n)*1.2/g+m; cout<<"k="<<k<<endl; return 0; }结果=13.7 #include using names
2014-03-24 19:17:49
635
1
原创 第二周作业1
#include #include using namespace std; int main() { bool flag = true; cout<<flag<<endl; cout<<boolalpha<<flag<<endl; cout<<flag + 5<<endl; flag = 0; cout<< "执行语句 flag=0;后flag的值为:"<<boolalph
2014-03-24 18:42:25
397
1
原创 作业
#include using namespace std; int main() { cout<<"班级:自动化1124班\n"; cout<<"姓名:张彪\n"; cout<<"学号:201211632425\n"; return 0; }#include using namespace std; int max(int x,int y) { int t; if(x>y) t
2014-03-15 14:08:36
543
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅