Help! I am trying to print my code is giving the correct output BUT with an extra space that is not supposed to be there.
for (int i = i; i <= input; i++)
{
cout << factorial(input)/ (factorial(i) * factorial (input - i)) << " ";
}
return 0;
}