main() 结果:
{printf(“*************\n”);
printf(“welcome to you\n”);
printf(“*************\n”);}
第1题:
23、请写出程序运行的结果。 int num=20; bool result; result=num<30;
第2题:
1、请写出如下程序运行的输出结果_________ string nameS="李敏"; double heighS=1.75; const char hm='米'; Console.WriteLine(nameS+"的身高是:"+heighS+hm); 2、请写出如下程序运行的输出结果_________ string naviG=@"请注意having这个单词"; Console.WriteLine(naviG);
第3题:
写出以下程序的运行结果。 using System; class Test { public static void Main() { int x = 15; int y = x++; Console.Write(“{0}”,y); } } 运行结果: 。
第4题:
写出以下程序的运行结果。 using System; class Test { public static void Main() { int x = 15; int y = x++; y=++x; Console.Write(“,{0}”,y); } } 运行结果: 。
第5题:
【简答题】9.3读程序写出运行结果