Home > Back-end >  O great god answer
O great god answer

Time:06-10

Please answer

CodePudding user response:

 # include & lt; stdio.h> 

Int main ()
{

Double x, y;
Double dResult;

Printf (" please enter two values separated by Spaces: ");
Lf the scanf (" % % lf ", & amp; X, & amp; Y);
DResult=x * x + y * y;

Printf (" %. 6 f, "dResult);
return 0;
}

CodePudding user response:

reference 1st floor datoulaile123 response:
 # include & lt; stdio.h> 

Int main ()
{

Double x, y;
Double dResult;

Printf (" please enter two values separated by Spaces: ");
Lf the scanf (" % % lf ", & amp; X, & amp; Y);
DResult=x * x + y * y;

Printf (" %. 6 f, "dResult);
return 0;
}

% % should be used when the output lf, namely. 6 lf

CodePudding user response:


I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related