题目内容

简述产品包装的功能。

查看答案
更多问题

Policewomen

A. work together with policemen on the graveyard.
B. do the same thing as policemen.
C. can have days off but policemen cannot.
D. don’t have to work double-backs.

Section ADirections: This section is to test your ability to give proper responses. There are 5 recorded questions in it. After each question, there is a pause. The questions will be spoken two times. When you hear a question, you should decide on the correct answer from the 4 choices marked A), B), C) and D) given in your test paper. Then you should mark the corresponding letter on the Answer Sheet with a single line through the centre.

A. She is fine.
B. She lives with me.
C. She likes watching TV.
D. She goes to movies tonight.

某企业按规定可享受技术开发费加计扣除的优惠政策。年初,企业根据产品的市场需求,拟开发出一系列新产品,产品开发计划两年,科研部门提出技术开发费预算需500万元,据预测,在不考虑技术开发费的前提下,企业第一年可实现利润200万元,第二年可实现利润650万元。假定企业所得税税率为25%且无其他纳税调整事项,预算安排不影响企业正常的生产进度。现有两个投资方案可供选择: 方案1:第一年投资预算为300万元,第二年投资预算为200万元; 方案2:第一年投资预算为100万元,第二年投资预算为400万元。 要求: (1)分别计算两个方案第一年缴纳的所得税; (2)分别计算两个方案第二年缴纳的所得税; (3)从税收管理的角度分析一下应该选择哪个方案。

请使用“答题”菜单或使用VC6打开考生文件夹proj3下的工程proj3,其中包含了类Polyno-mial(“多项式”)的定义。形如5x4+3.4x2-7x+2代数式称为多项式,其中的5为4次项系数,3.4为2次项系数,-7为1次项系数,2为0次项(常数项)系数。此例缺3次项,意味着3次项系数为0,即省略了0x3。在Polynomial中,多项式的各个系数存储在一个名为coef的数组中。例如对于上面的多项式,保存在coef[0]、coef[1]、…、coef[4]中的系数依次为:2.0、-7.0、3.4、0.0、5.0,也即对于i次项,其系数就保存在coef[i]中。作为成员函数重载的运算符“+”用于计算两个多项式的和,并返回作为计算结果的那个多项式。请补充完成文件Polynomial.cpp中重载运算符函数operator+的定义。此程序的正确输出结果应为: p1+p2的结果:7.3X^4+20.6X^3-41.2X^2-2.4X+5 p2+p3的结果:-2.3X^5+14.6X^4+12.8X^3+2.8X^2+0.2X+1 注意:只需要在operator+的//********333********和//********666********之间填入若干语句,不要改动程序中的其他内容。 //源程序 //主函数 #include"Polynomial.h" int main() double p1[]=5.0,3.5,-41.2,7.8, p2[]=0.0,-5.9,0.0,12.8,7.3, p3[]=1.0,6.1,2.8,0.0,7.3,-2.3; Polynomial poly1(p1, sizeof(p1)/sizeof(double)), poly2(p2, sizeof(p2) /sizeof(double)), poly3(p3, sizeof(p3) /sizeof(double)); cout<<"p1+p2的结果:"<<(polyl+poly2).tostring()<<endl; cout<<"p2+p3的结果:"<<(poly2+poly3).tostring()<<endl; // writeToFile("K:\\b10\\61000102\\"); return 0: //Polynomial.cpp函数 #include"Polynomial.h" #include <strstream> #include <cmath> const char*Polynomial::tostring() const//将多项式转换成用于输出的字符串 static char s[1000]; s[0]=0; strstream buf(s,1000); for(int i=num_of_terms-1;i>=0;i--) if(coef[i]==0.0) continue, //0系数项不输出 if(coef[i]<0.0) buf<<"-"; //负系数先输出"-" else if(strlen(s)==0) buf<<" "; else buf<<"+": buf<<fabs(coef[i]); if(i>0) buf<<"X": if(i>1)buf<<"^"<<i; buf<<ends: return buf.str(); Polynomial Polynomial:: operator+(const Polynomial &x) const double c[100]=0.0;//存放结果系数的数组,所有元素初始化为零。假定项数不会超过100 //下面的n为两个操作数中项数的较大者 int n=(num_of_terms>=x.num_of_terms num_of_terms:x.num_of_terms); //将两个多项式的对应系数之和存放到数组c的对应单元中 //********333******** //********333******** while(n>1&&c[n-1]==0.0)n--;//去除无效的(系数为0的)最高次项 return Polynomial(c,n);

答案查题题库