单选题:有以下程序:#include<stdi0.h>main(){ int x,i;for(i=1:i<=100:i++){

  • 题目分类:C语言
  • 题目类型:单选题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
有以下程序:
#include<stdi0.h>
main()
{ int x,i;
for(i=1:i<=100:i++)
{ x=i:
if(++x$2==0)
if(++x%3==0)
if(++x%7==0)
printf(“%d”,x);
printf(”\n”);
程序的输出结果是(  )。 A.2870
B.4284
C.2668
D.3981

参考答案:【答案仅供学习,请勿对照自行用药等】
答案解析:

有以下程序:#include<stdio.h2>main(){ int w=4,x=3,y=2,z=1;printf(”

有以下程序:#includemain(){ int w=4,x=3,y=2,z=1;printf(”%d\n”,(w<x?w:z<y

查看答案

概要设计中要完成的任务是(  )。

概要设计中要完成的任务是(  )。A.系统结构和数据结构的设计 B.系统结构和过程的设计 C.过程和接口的设计 D.数据结构和过程的设计

查看答案

When we listen to a person talkin9,the most important thing

When we listen to a person talkin9,the most important thing for us to do is. A.

查看答案

Her colleagues in publishing thought that being self-employ

Her colleagues in publishing thought that being self-employed would be difficul

查看答案

根据下列材料,回答题For the 26 month.mysterious falls of large chunks

根据下列材料,回答题For the 26 month.mysterious falls of large chunks of ice(冰雹)27 raine

查看答案