The output has a problem, help me to kangkang, save the children
CodePudding user response:
1. The sum not initialized, it is recommended that the
float sum=0.0;
2. The scanf input, get rid of the q - & gt; In front of the name & amp; The symbols
3. The sum/=5; Or to sum/=5.0
CodePudding user response:
Help me input the result, I have been output 0.0
CodePudding user response: