填空题: 以下程序运行后输出的结果是______。 #include <stdio.h> main() int k=1, s=0; do if((k%2)!

  • 题目分类:计算机考试
  • 题目类型:填空题
  • 查看权限:VIP
题目内容:

以下程序运行后输出的结果是______。

#include <stdio.h>

main()

int k=1, s=0;

do

if((k%2)!=0) continue;

s+=k;k++;

while(k>10);

printf("s=%d",s);

参考答案:

区、县城管执法部门对乡、镇城管执法机构及其执法人员发生的情节严重、社会影响较大的违法违纪行为,可以向乡、镇人民政府提出查

此题为判断题(对,错)。

查看答案

给出下面的代码,则以下( )选项返回true。 String s="hello"; String t="hello"; Char c

给出下面的代码,则以下( )选项返回true。 String s="hello"; String t="hello"; Char c[]={"h","e","l","l","o"};A.equa

查看答案

下列程序的执行结果是( )。   public class Testff{   public static void main(String args){

下列程序的执行结果是( )。   public class Testff{   public static void main(String args[]){    String sl=new St

查看答案

下面代码包括一个HTML文件和一个Applet类,在hello.html文件的横线处填入相应的内容,把HelloApplet嵌入在hello.html中。 h

下面代码包括一个HTML文件和一个Applet类,在hello.html文件的横线处填入相应的内容,把HelloApplet嵌入在hello.html中。 hello.html文件内容:  <HTML>

查看答案

阅读下面程序 public class ConcatTest  public static void main(String args)   Str

阅读下面程序 public class ConcatTest  public static void main(Stringargs)   String str1="abc";   Stri

查看答案