#include <iostream>
#include <cmath>
using std::cin;
using std::cout;
int maximal(int);
int main()
{
int n;
int max = 0;
cout << "Please enter three numbers: ";
max = maximal(n);
cout << "The maximal value is: " << max << "\n";
return 0;
}
int maximal(int n)
{
int maxsf = 0;
int i = 0;
int size = 3;
while( i < size)
{
cin >> n;
if(n > maxsf)
{
maxsf = n;
}
i++;
}
n = maxsf;
}