当 a = 1, b = 3 , c = 5, d = 4 时, 执行完下面程序段后 x 的值为。(02~03第一学期试题)if ( a < b ) if( c < d )x = 1 ; elseif ( a < c )if ( b < d ) x =2 ;elsex = 3 ;elsex = 6 ;elsex = 7 ;
A. if (a>b)printf(“%f”,a); B. if(a>b)printf(“%f”,a); else printf(“%f”,b); C. if(a>b)printf(“%f”,a) else printf(“%f”,b); D. if(a>b)printf(“%f”,b); else printf(“%f”,a);