void list()
{
int number, sum = 0;
std::cout << "Enter number greater than 0: ";
std::cin >> number;
for (int i = 1; i <= number; i++)
{
if (number > (sum + (i * 2)))
{
std::cout << i << " + ";
}
else
{
std::cout << number - sum << " = " << number << std::endl;
i = number;
}
sum += i;
}
return;
}