Home > Back-end >  On the C language algorithm, simple
On the C language algorithm, simple

Time:10-28

太可怜,我就是不知道哪里有问题,请大佬指导,共三个题目和我的三种答法

CodePudding user response:

That, I changed to % lf scanf_s input

CodePudding user response:

I put all the variables into a double, I'm afraid of what divided exactly by mistake

CodePudding user response:

Lf
 the scanf (" % % d ", & amp; X, & amp; n); 

The original poster of the scanf lack & amp;

CodePudding user response:

reference 3 building self-confidence boy reply:
 the scanf (" % lf % d ", & amp; X, & amp; n); 

The original poster of the scanf lack & amp;

Oh oh oh, the last one, forget not that there are other problems

CodePudding user response:

In the first program/a (y); Need to sign, between the a and b () should be used *. Namely take, also look to other parts of the country