有如下程序: Option Base 1 Private Sub Form Click() Dim arr,Sum Sum =0 arr=Array(1,3,5,7,9,11,13,15,17,19) For i=1 To 10 If arr(i)/3=arr(i)\3 Then Sum=Sum+arr(i) End If Next i Print Sum End Sub 程序运行后,单击窗体,输出结果为
查看答案
有以下程序 main(int argc, chara*argv[]) int n,i=0; while(argv[1][i]! =’\0’) n=fun();i++; cout<<n*argc<<endl; int fun() static int s=0; s+=1; return s; 假设程序经编译、连接后生成可执行文件exam.exe,若键入以下命令行 exam 123<回车> 则运行结果为
A. 6
B. 8
C. 3
D. 4
投资方从联营企业分回的税后利润,既有按规定需要补税的投资收益,又有不需要补税的投资收益。如果投资方发生亏损,可以先用需要补税的投资收益直接弥补亏损,再用不需要补税的投资收益弥补,弥补亏损后还有盈余的,不再补税。 ( )
A. 对
B. 错
Long ,long ago people thought that the sun went around the earth ,but now we know the earth goes around the sun. Today men know how far it is for men know how far it is for the earth to go around the sun. They tell us that the earth travels over 1,000 miles a minute on its way around the sun. The sun is really a star. It is much bigger than the earth and it is very hot. Some people have been to the moon, but we know that no one can ever get to the sun. It is too hot for people to live anywhere near it. The sun is 300, 000 times heavier than the earth and more than a million times larger. It’s true that the earth goes around ______ .
A. the sun
B. the moon
C. other stars
1995年6月,A市某食品公司经理刘某委托去B市办事的某个体商行负责人张某将该公司的营业执照副本和盖有该公司合同专用章的空白合同书交给公司驻B市办事处的王某。张某到B市后,因事务缠身一直未将营业执照副本和空白合同书交到王某手中。同年7月2日,张某从朋友处得知B市某粮油加工厂欲购买玉米,便持食品公司营业执照副本和空白合同书与加工厂签订了供应300吨玉米的合同。7月4日,加工厂按合同约定将30万元定金汇入A市工商银行张某指定的账户。后因种种原因,张某组织货源不成,致合同无法履行。加工厂便找到刘某,要求食品公司承担违约责任。刘某以该合同不是本公司人员所签,且定金未汇人本公司账户为由,拒绝承担责任。双方争执不下,加工厂诉至法院。 请问: 食品公司是否应对张某的签约行为承担责任?为什么?