为什么这样不对
#include <stdio.h>
int
main()
{
float
x,y;
printf
(
"x+y=%f\n"
,x+y);
printf
(
"xy=%f\n"
,xy);
printf
(
"x*y=%f\n"
,x*y);
printf
(
"x/y=%f\n"
,x/y);
printf
(
"x%%y=%f\n"
,x%y);
return0;
}
#include <stdio.h>
int
main()
{
float
x,y;
printf
(
"x+y=%f\n"
,x+y);
printf
(
"xy=%f\n"
,xy);
printf
(
"x*y=%f\n"
,x*y);
printf
(
"x/y=%f\n"
,x/y);
printf
(
"x%%y=%f\n"
,x%y);
return0;
}
2019-03-04
举报