if we're calculating the mean of some integers, only the variabile "mean" should be double
Succo
Livello 13
Why sum has to be a double?
Discussione in corso
Commenti (1)
- Popolari
- Nuovi
- Vecchi
Devi avere effettuato l'accesso per lasciare un commento
Thomas
ieri l\'altro, 07:03
What type would you expect? If you take two values 2 and 3 and then you try to calculate the arithmetic mean then you'd need a type that is capable of holding floating point numbers. Or not?
0