Answer:
double mean
double sum
double number
int count
Step-by-step explanation:
There are many options to code a program for mean calcultation. This one is one of the simplest. First of all, get the numbers and increase the value of count by 1 each time new number is added. Then add the incoming numbers one by one performing the summation of all the input numbers on the variable sum; the final step is the calcultation of the mean by diving the variable sum by the variable count. With those variables ready, then Subana can make the code work properly.