Question
Please start like this
Public double [] stats (Scanner scanner)
{
//Method Here
return "Something";
Given a Scanner of double values, return an array of capacity three that has the maximum value in the Scanner as the value in result [0], the minimum value as the second value in result [1], and the average as the third value in result [2]. The following assertions must pass: You may assume the Scanner contains only valid double literals and there is at least one double in the argument. Do not test for empty arrays (Rick doesn't)
Explanation / Answer
#include using namespace std; int billy [] = {16, 2, 77, 40, 12071}; int n, result=0; int main () { for ( n=0 ; n