题目内容

以下if语句语法正确的是()

A. if (x>0) printf(“%f”,x) else printf(“%f”,-x)
B. if(x>0){x=x+y;printf(“%f”,x);} else printf(“%f”,-x)
C. if(x>0){x=x+y;printf(“%f”,x);};else printf(“%f”,-x)
D. if(x>0){x=x+y;printf(“%f”,x)} else printf(“%f”,-x)

查看答案
更多问题

计算1+2+3+…+100正确算法的伪代码是()

A. sum=0n=1while n<100 do sum=sum+n n=n+1end doprint sum
B. sum=0n=1while n≤100 do sum=sum+n n=n+1end doprint sum
C. sum=0n=1while n≤100 do sum=sum+1 n=n+1end doprint sum
D. sum=0n=1while n<100 do sum=sum+1 n=n+1end doprint sum

Adobe Animate是由哪款软件升级而来的()

A. Photoshop
B. Premiere
C. Flash
D. After Effects

Henry Wadsworth Longfellow belongs to the groups of _____()

A. New French Poets
B. Fireside Poets
C. Boston Brahmins
D. New British Poets

The themes of A Psalm of Life can be concluded as____()

A. Souls never die
Be optimistic toward life
C. Make the most of life
D. Try to leave footmarks on history

答案查题题库