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


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

int main()

{

int a = 12, b = 3;float x = 18.5, y = 4.5;printf(“%f”, (float)(a * b) / 2);printf(“%d”, (int)x %(int)y);return 0;}

A.18.0000002

B.182

C.182.000000

D.18.0000002.000000

正确答案:18.0000002