下面程序的运行结果是#include


下面程序的运行结果是#include

int main()

{

int a = 2, b = 3 ;float x = 3.5, y = 2.5 ;printf(“%f”, (float)(a+b) / 2 + (int)x % (int)y) ;return 0;}

A.3.500000

B.3.000000

C.3.5

D.3

正确答案:3.500000