行政机关公务员违反法律、法规规定进行行政委托,情节较重的,给予()处分。
A.警告或者记过
B.记大过或者降级
C.降级或者撤职
D.撤职或者开除
参考答案:B
管理层次中协调层的职能是( )。
A.确定大政方针
B.参谋与咨询
C.组织与调配
D.操作与完成任务
以下是某C程序段,其功能为计算输入数字的阶乘。请仔细阅读程序并完成要求。 #include<stdio. h> #include<stdlib. h> int main() { int i=0;/*i为计数器*/ int n; int factorial=1;/*保存阶乘的结果*/ puts("*************************************"): puts("*The program will compute *"); puts("*the factotial of an integer *"); puts("*************************************"): puts("please input the number n:"); scanf("%d",&n); if(n<0)/*判断输入的数是否大于或等于0*/ { printf("please input an interger>=0. \n"); return 0; } if(n==0)/*0的阶乘是1*/ { printf("factorial of 0 is 1.\n"); return 0; } i=1; while(i<=n) { factorial = factorial * i; i++: } printf("factorial of % d is:%d. \n",n,factorial); getch(); return 0: }