I'm trying to make a program that continually asks the user for a number until they have entered -1 and then computes the average

前端 未结 0 967
名媛妹妹
名媛妹妹 2021-01-25 09:38

The problem with my code is that takes the -1 entered by the user and adds it to the sum. I think I\'m missing something very simple. Here is my code:

        dou         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题