下面程序段执行后的输出结果是()。using System;class test{ static void Main(){ int x = 0, y = 5, z = 3; while (z– > 0 && ++x < 5) y = y – 1; Console.WriteLine(“{0},{1},{2}”, x, y, z); }}

A.3,2,0 B.3,2,-1 C.4,3,-1 D.5,-2,-5

时间:2024-03-06 17:35:01

相似题目