+ 10
can u find whats wrong with this code??
this code is to calculate an average https://code.sololearn.com/c1U0cYwt5Pq7/?ref=app https://code.sololearn.com/c1U0cYwt5Pq7/?ref=app
2 Réponses
+ 7
You are not decreasing or increasing the variable "number" inside the while loop then how will your while loop terminate?
It is true always so kindly make changes.
+ 1
You are not update value of "number "that is counter variable that required for increass or decreass the value for execution of while loop