void statistician::print() const {
     cout<<"The length of the sequence is: "<<lengthSequence() << endl<< "The largest number is: " << largestNumber()<<endl<< "The smallest number is: "<<smallestNumber() << endl<< "The last number is: "<<lastNumber() << endl<< "The sum is: "<< sumOfSequence()<<endl<< "The mean of the sequence: "<<meanOfSequence()<<endl;
 }
Exemple #2
0
int main()
{
	int nums[] = {1, 0 };
	char *result = largestNumber(nums, 2);
}