#include <iostream>
int main()
{
int a, b;
std::cout << "first number: ";
std::cin >> a;
std::cout << "second number: ";
std::cin >> b;
for(int i = a; i <= b; ++i)
std::cout << i << "*" << i << " = " << i * i << std::endl;
std::cin.get();
return 0;
}
#include <iostream>
int main()
{
int a, b;
std::cout << "first number: ";
std::cin >> a;
std::cout << "second number: ";
std::cin >> b;
for(int i = a; i <= b; ++i)
std::cout << i << "*" << i << " = " << i * i << std::endl;
std::cin.get();
return 0;
}