Home > Back-end >  Bosses for help, the younger brother novice C language, there is a problem for help
Bosses for help, the younger brother novice C language, there is a problem for help

Time:10-11

Compiled according to:
Illegal, the left operand has the type 'double'
What's the problem I don't understand what a double

CodePudding user response:

Your second application B does not seem to be defined, B should be defined as type double, the output when changing % d to % lf,
First program input function in the scanf \ n take out, just like program 2, the output of the first program is to use % lf
  • Related