【单选题】以下程序的输出结果是 class Program { static int c = 3; static double f( int a) { c += 1; a = c; return a; } static void Main( string [] args) { int a=0, i, k=0 ; for (i = 0;i { k =( int ) f(a); a = a + 1; } Con...
【单选题】以下程序的输出结果是 class Program { static double f( int n) { int i; double s; s = 1.0; for (i = 1 ;i<= n;i++) s +=1.0 / i ; return s; } static void Main( string [] args) { int i, m; double a=0; m=3; for (...