Home > Back-end >  C language small white for help
C language small white for help

Time:09-19

Can I see this have what problem? Why is wrong when n is bigger, my personal feeling is super bound, you think my judgment is correct, please correct me,

CodePudding user response:

To printf (" % 2 f ") is modified to "%. 2 lf" look,

CodePudding user response:

reference 1st floor Tryagain2006 response:
can be printf (" %. 2 f) is modified to "%. 2 lf" see,

Bad or not, should be algorithm, which leads to the overspray when n is bigger

CodePudding user response:

The a, b of type double

CodePudding user response:

reference weixin_46284757 reply: 3/f
the a, b type double instead of

I tried, you can, but why?

CodePudding user response:

reference 4 floor jdhej response:
Quote: reference weixin_46284757 reply: 3/f
the a, b type double instead of

I tried, you can, but why?

Double range is bigger than the int
  • Related