#include <iostream>
int main()
{
std::cout << "Numbers: ";
int a, b;
std::cin >> a >> b;
if (a > b)
std::swap(a, b);
int c = 1;
for (int i = a; i <= b; i++)
c *= i;
std::cout << "Result: " << c;
return 0;
}
thank you so much the only question i have is which part of this code allows for 7 and 7 =7 (or any of the same choosen number to equal itself with out essentially squaring?)?