template <typename T>
T smaller(T a, T b)
{
if (a < b)
{
return a;
}
return b;
}
/*This template receives will work only for the function with two parameters. What if I have to create one template which accepts any number of parameters? */