#include <stdio.h>
#include <stdlib.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);
}
习题3.1(1)
最新推荐文章于 2022-01-04 17:36:26 发布
#include <stdio.h>
#include <stdlib.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);
}