p43-3.1(1)

来源:互联网 发布:hao123网络连接错误 编辑:程序博客网 时间:2024/06/09 15:41
这里写代码片#include <stdio.h>main(){    int a=12,b=3;    float x=18.5,y=4.6;    printf("%f\n",(float)(a*b)/2);    printf("%d\n",(int)x%(int)y);}

这个代码的运行结果为这里写图片描述

原创粉丝点击