自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 职工综合信息管理系统

3、职工综合信息管理系统要求:设计一个程序来管理职工较全面数据信息,具备数据的输入、查找、删除等功能。具体功能细节可以根据自己理解情况进行增加。

2014-06-21 23:19:41 655 1

原创 第四章作业

例题4.8#include using namespace std;int main(){ char str[50]; cout<<"please input strings:"; cin.get(str,50); //默认结束符为Enter键 cout<<"the string is:"; cout<<str<<endl; return

2014-04-16 14:23:43 472 2

原创 第四章作业

#include using namespace std;int main(){ int a[10]; //表示数组a中有10元素,且都为整型 int i; //定义数组中的任意一个元素 for(i=0;i<10;i++) //给所有数组元素赋值 a[i]=i*2+2; for(i=0;i<10;i++)

2014-04-14 23:00:17 508 1

原创 作业1

第7题#include using namespace std;int main(){ int s; cout<<"输入数据:"; cin>>s; if(s >= 1000) {  if(s >= 100)  {   if(s >= 10)    cout<<"is 10 to 100"<<endl;   else    cout<<"is

2014-03-29 23:05:03 474 2

原创 习题4

#include #include using namespace std;int main(){ double a,b,c,x1,x2; //a为二次方的系数,b为一次方系数,c为常数,x1,x2为方程的解 cout<<"输出三个数:"; cin>>a>>b>>c; cout<<"二次方的系数 a="<<a<<endl <<"一次方的系数 b="<<b<<e

2014-03-23 19:54:10 504 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<<e

2014-03-23 19:05:30 611 1

原创 习题二

#include #include using namespace std;int main(){ float a,b,c,m,p,s; //a,b,c是三角形的边,m,s分别为三角行的周长和面积 cout<<"输入三角形的三条边:"<<endl; cin>>a>>b>>c; if(a+b>c) //判断三条边是

2014-03-23 12:04:51 500 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=3;后flag的值为:"<<boolalpha<<flag<<e

2014-03-23 11:04:17 446 1

原创 例题1

#include using namespace std;int main(){ cout<<"number of bytes in int is:"<<sizeof(int)<<endl; cout<<"number of bytes in long int is:"<<sizeof(long)<<endl; cout<<"number of bytes in short

2014-03-21 11:43:30 461 1

原创 作业三,四题

程序中的标识符有: max, x,  y,  t,  number1,  number2,  maxvalue, main关键字:else,  if,  int,   namespace,   using,   return程序是为实现特定目标或解决特定问题而用计算机语言编写的命令序列的集合:编译预处理是使编译程序在对源程序进行通常的编译之前,先对这些命令进行预处理,然后将预处理的结果

2014-03-14 21:25:53 635 1

原创 习题二程序

#include using namespace std;int max(int x,int y){int t;if(x>y)t=x;else t=y;return t;}int main(){int number1,number2;cout<<"输入两个数:";cin>>number1>>number2;int maxvalue;maxvalue=max(num

2014-03-14 20:24:32 649 1

原创 我的第一个程序

#include using namespace std;int main(){cout<<"201211632403,自动化124,陈燕飞:"<<endl;return 0;}

2014-03-14 10:47:02 430 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除