double one = tips[0];
double two = tips[1];
double three = tips[2];
double four = tips[3];
double five = tips[4];
double six = tips[5];
double seven = tips[6];
int average = one, two, three, four, five, six, seven;
The compiler is saying I need to convert a double to int but I don't know how. This is all I find on the internet.
public static double ToDouble(
int value
)
But I don't understand it and don't know how to put it in my code to make it work.