Time:10-04
CodePudding user response:
a -=a * c C is a percentage, you 10 here, should be 0.1 And don't for yourself easy, map without post code Figure themselves easy, nobody answer your question
the scanf (" % lf ", & amp; C); For (d=1; D<=b; A - d++)=(a * c); Among these two lines, add printf (" a: % lf b: % d c: % lf \ n ", a, b, c); Then, you look at each of the ABC of eligible to enter? Input a, b, c is wrong, only leads to the result of the for loop calculation problems
Page link:https//www.codepudding.com/Backend/51282.html